
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.hidden {
    display: none !important;
}

:root {
    --bg-dark: #07080a;
    --bg-gradient: radial-gradient(circle at top, #16181c 0%, #07080a 70%, #030405 100%);
    --panel-bg: transparent;
    --panel-border: rgba(255, 255, 255, 0.06);
    --panel-border-hover: rgba(56, 189, 248, 0.35);
    --accent-cyan: #06b6d4;
    --accent-blue: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.15);
    --text-main: #f3f4f6;
    --text-muted: #cbd5e1;
    --font-title: 'Orbitron', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background: var(--bg-dark);
    background-image: 
        radial-gradient(circle at top, #121820 0%, #07080a 70%, #030405 100%),
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    background-attachment: scroll, fixed, fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-top: 100px;
}

@media (max-width: 768px) {
    /* Static Glow on Mobile Phones - No Blinking, Zero Lag Scrolling */
    .brand-logo-img {
        animation: none !important;
        filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.7)) drop-shadow(0 0 28px rgba(34, 211, 238, 0.35)) !important;
    }
    .card-gov .brand-logo-img {
        animation: none !important;
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.5) !important;
        filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.65)) !important;
    }
    .brand-card-title {
        animation: none !important;
        color: #ffffff !important;
        text-shadow: 0 0 14px rgba(56, 189, 248, 0.75), 0 0 24px rgba(34, 211, 238, 0.4) !important;
    }
    .brand-card-glow {
        animation: none !important;
        opacity: 0.4 !important;
    }
    .brand-card.unselected {
        animation: none !important;
        box-shadow: 0 0 12px rgba(34, 211, 238, 0.35) !important;
        border-color: rgba(34, 211, 238, 0.5) !important;
    }

    body {
        padding-top: 90px;
    }
}

/* Scrollbar personalizzata */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #07080a;
}
::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #374151;
}

/* ─── TOP ALERT BANNER ───────────────────────────────────────────── */
.top-alert-banner {
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.3) 0%, rgba(34, 211, 238, 0.25) 50%, rgba(16, 185, 129, 0.3) 100%);
    border-bottom: 1px solid rgba(34, 211, 238, 0.25);
    padding: 6px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 0.8rem;
    color: #e0f2fe;
    max-height: 60px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    z-index: 1003;
}

.top-alert-banner.hidden-on-scroll {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom-color: transparent !important;
    pointer-events: none !important;
}

.top-alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.top-alert-badge {
    background: rgba(34, 211, 238, 0.2);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: #22d3ee;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.top-alert-text {
    font-weight: 500;
    color: #f0f9ff;
    line-height: 1.3;
}

.top-alert-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.top-alert-close:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    .top-alert-banner {
        padding: 6px 36px 6px 12px;
        font-size: 0.74rem;
    }
    .top-alert-badge {
        font-size: 0.65rem;
        padding: 1px 6px;
    }
}

/* Stili Header & Navigazione */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    background: rgba(7, 8, 10, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--panel-border);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 211, 238, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45), 0 1px 15px rgba(34, 211, 238, 0.08);
}

.header-inner {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

header.scrolled .header-inner {
    padding: 6px 16px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo-m2labs {
    height: 60px !important;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.35));
    cursor: default;
}

/* Forensic Hub circular partner logo on the Right of Header */
.header-right-partner {
    display: flex;
    align-items: center;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.header-logo-partner {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.45));
    transition: all 0.3s ease;
}

.header-logo-partner:hover {
    filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.75));
    transform: scale(1.03);
}

/* Forensic Hub Small Brand Lockup on the Right of Header */
.header-right-forensichub {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0 !important;
}

.header-right-forensichub,
.header-right-forensichub * {
    pointer-events: none !important;
    cursor: default !important;
}

.logo-emblem-small {
    width: 24px;
    height: 24px;
    flex-shrink: 0 !important;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.35));
}

.logo-text-group-small {
    display: flex;
    flex-direction: column;
    text-align: left;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.logo-title-small {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.85rem;
    line-height: 1.1;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #fff 0%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap !important;
    display: block !important;
}

.logo-subtitle-small {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.55rem;
    line-height: 1;
    color: #38bdf8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap !important;
    display: block !important;
}

.logo-title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #fff 0%, #bae6fd 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    transition: all 0.3s ease;
    position: relative;
    padding: 4px 1px;
    white-space: nowrap;
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}

.nav-links a.active {
    color: #22d3ee;
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.8), 0 0 24px rgba(34, 211, 238, 0.4);
}

/* Switcher lingua pulito con bandiere */
.lang-switcher {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--panel-border);
    padding: 4px 8px;
    border-radius: 20px;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.25s, transform 0.2s;
    display: flex;
    align-items: center;
}

.lang-btn:hover {
    opacity: 0.85;
}

.lang-btn.active {
    opacity: 1;
    transform: scale(1.1);
}

/* Sezioni Layout Generiche */
section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 24px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 24px 80px;
    position: relative;
}

/* Titolo animato effetto ghiaccio brillante */
.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #ffffff !important;
    text-shadow: 
        0 0 4px #ffffff,
        0 0 10px #38bdf8,
        0 0 22px #06b6d4,
        0 0 45px #06b6d4,
        0 0 75px rgba(6, 182, 212, 0.75) !important;
    display: inline-block !important;
}

.hero-title-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 24px;
    line-height: 0;
    font-size: 0;
}

.hero-title-blur-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.45) 0%, rgba(192, 132, 252, 0.25) 45%, transparent 75%);
    filter: blur(45px);
    opacity: 0.35;
    pointer-events: none;
    transition: opacity 0.5s ease, filter 0.5s ease;
    border-radius: 50%;
    z-index: 0;
}

.hero-title-wrapper:hover .hero-title-blur-backdrop {
    opacity: 0.9;
    filter: blur(60px);
}

.hero-title-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.4)) drop-shadow(0 0 50px rgba(34, 211, 238, 0.2));
    transition: filter 0.4s ease;
    transform: none !important;
}

.hero-title-img:hover {
    transform: none !important;
    filter: drop-shadow(0 0 45px rgba(56, 189, 248, 0.8)) drop-shadow(0 0 85px rgba(34, 211, 238, 0.5)) drop-shadow(0 0 120px rgba(192, 132, 252, 0.35));
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes iceShimmer {
    0% { background-position: 200% center; }
    100% { background-position: 0% center; }
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(1.0rem, 1.8vw, 1.25rem);
    max-width: 750px;
    margin: 0 auto 40px;
    font-weight: 400;
}

/* Pulsanti */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 15px rgba(3, 105, 161, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.13);
    transform: rotate(30deg);
    transition: all 0.6s ease;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
    border-color: #38bdf8;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border: 1px solid var(--panel-border);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Griglia Prodotto */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-desc {
    text-align: left;
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .product-showcase {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-showcase > div:first-child,
    .showcase-left-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .showcase-badge,
    .showcase-left-col span[data-key$="-pill"],
    .showcase-left-col span[data-key$="-category"],
    .product-showcase span[data-key$="-pill"],
    .product-showcase span[data-key$="-category"] {
        display: inline-block !important;
        margin: 0 auto 6px !important;
        text-align: center !important;
        align-self: center !important;
    }

    .product-showcase h2,
    .product-showcase .glow-title-cyan,
    .product-showcase .glow-title-purple,
    .product-showcase .glow-title-green,
    .product-showcase .glow-title-red,
    .product-showcase .glow-title-gradient {
        font-size: clamp(1.4rem, 5.5vw, 2.2rem) !important;
        line-height: 1.25 !important;
        text-align: center !important;
        margin: 8px auto 14px !important;
        display: block !important;
        word-break: break-word !important;
        max-width: 100% !important;
        align-self: center !important;
    }

    .product-showcase p[data-key$="-subtitle"],
    .product-showcase p.showcase-subtitle,
    .product-showcase > div:first-child > p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 600px !important;
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        align-self: center !important;
    }

    .connection-diagram-wrapper {
        margin: 20px auto !important;
        width: 100% !important;
        max-width: 420px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        align-self: center !important;
    }

    .connection-diagram-wrapper svg {
        max-width: 100% !important;
        height: auto !important;
    }

    .product-showcase div[style*="background: rgba(255,255,255,0.02)"] {
        text-align: left;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .product-showcase h3 {
        text-align: center !important;
        margin: 24px auto 12px !important;
        align-self: center !important;
    }

    .product-showcase div[style*="flex-direction: column"] {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Target audience cards fix */
    .showcase-left-col div[style*="display: flex; gap: 12px"],
    .product-showcase div[style*="display: flex; gap: 12px"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .showcase-left-col div[style*="display: flex; gap: 12px"] > div:last-child,
    .product-showcase div[style*="display: flex; gap: 12px"] > div:last-child {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .showcase-left-col div[style*="display: flex; gap: 12px"] p,
    .product-showcase div[style*="display: flex; gap: 12px"] p {
        word-break: break-word !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
    }

    /* Griglie a schede orizzontali a tutta larghezza su mobile (AIDEN, Sicurezza, Cyber Services) */
    .services-cyber-grid,
    .aiden-cards-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .pain-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 22px 20px !important;
    }

    .pain-card-title {
        font-size: 1.15rem !important;
        white-space: normal !important;
        word-break: normal !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        display: block !important;
        letter-spacing: normal !important;
    }

    .pain-card p {
        text-align: left !important;
        font-size: 0.9rem !important;
        line-height: 1.55 !important;
        white-space: normal !important;
        word-break: normal !important;
    }
}

/* Card in Vetro (Glassmorphism Trasparente) */
/* Card in Vetro (Glassmorphism Trasparente) */
.glass-panel {
    background: transparent !important;
    border: 1px solid var(--panel-border);
    border-radius: 12px;
    padding: 36px;
    backdrop-filter: blur(8px);
    box-shadow: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    cursor: default;
    -webkit-tap-highlight-color: transparent;
}

/* Solo elementi realmente cliccabili si sollevano e mostrano il cursore pointer */
.glass-panel[onclick],
.glass-panel.clickable,
a.glass-panel,
button.glass-panel,
.service-cyber-card,
.wizard-software-btn,
.pricing-tab-card {
    cursor: pointer !important;
}

.glass-panel[onclick]:hover,
.glass-panel.clickable:hover,
a.glass-panel:hover,
button.glass-panel:hover,
.service-cyber-card:hover,
.wizard-software-btn:hover {
    border-color: var(--panel-border-hover);
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.12);
    transform: translateY(-4px);
}

/* Caselle informative statiche (Temi Trattati, Specifiche, Benefici): nessun sollevamento o finto click */
.topics-container .glass-panel,
.lab-topics-container .glass-panel,
.topics-grid-hub .glass-panel,
.topics-grid-lab .glass-panel,
.benefit-card,
.stat-cyber-card,
.testimonial-cyber-card,
.features-checklist-card,
.guarantee-banner {
    cursor: default !important;
    transform: none !important;
    user-select: text;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: pan-y !important;
}

.topics-container .glass-panel:hover,
.lab-topics-container .glass-panel:hover,
.topics-grid-hub .glass-panel:hover,
.topics-grid-lab .glass-panel:hover,
.benefit-card:hover,
.stat-cyber-card:hover,
.testimonial-cyber-card:hover,
.features-checklist-card:hover,
.guarantee-banner:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
    cursor: default !important;
}

.topics-container .glass-panel:active,
.lab-topics-container .glass-panel:active,
.topics-grid-hub .glass-panel:active,
.topics-grid-lab .glass-panel:active,
.benefit-card:active,
.stat-cyber-card:active,
.testimonial-cyber-card:active {
    transform: none !important;
    box-shadow: none !important;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list li span.icon {
    color: var(--accent-blue);
    font-size: 1.2rem;
    line-height: 1;
}

.feature-list li .text {
    font-size: 0.95rem;
}

.feature-list li .text strong {
    color: #ffffff;
    display: block;
    margin-bottom: 2px;
}

/* Sezione Simulatori e Terminale */
.terminal-preview-container {
    background: #000000;
    border: 1px solid #1f2937;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.terminal-header {
    background: #111827;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1f2937;
}

.terminal-buttons {
    display: flex;
    gap: 6px;
}

.term-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.term-btn-red { background: #ef4444; }
.term-btn-yellow { background: #f59e0b; }
.term-btn-green { background: #10b981; }

.terminal-title {
    font-size: 0.75rem;
    font-family: monospace;
    color: #9ca3af;
}

.terminal-body {
    padding: 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
    color: #4ade80;
    min-height: 180px;
    text-align: left;
}

.term-line {
    margin-bottom: 8px;
}

.term-prompt {
    color: #38bdf8;
}

.term-cmd {
    color: #ffffff;
}

.term-output {
    color: #9ca3af;
}

/* Tariffe / Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(56, 189, 248, 0.18), 0 0 1px 1px var(--panel-border-hover);
    border-color: var(--panel-border-hover);
}

.price-card.popular {
    border-color: var(--accent-blue);
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(18, 20, 24, 0.85) 100%);
}

@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(56, 189, 248, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-blue);
    color: #000000;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: badgePulse 2s infinite;
}

.price-header h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.price-amount {
    margin-bottom: 24px;
}

.price-val {
    font-family: var(--font-title);
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
    border-top: 1px solid var(--panel-border);
    padding-top: 24px;
}

.price-features li {
    display: flex;
    gap: 8px;
    align-items: center;
}

.price-features li.disabled {
    color: #4b5563;
}

.price-features li span {
    font-size: 1.1rem;
}

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

.faq-item {
    background: rgba(18, 20, 24, 0.45);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.25s;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px 24px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    color: var(--text-muted);
    font-size: 0.92rem;
    border-top: 1px solid transparent;
}

.faq-item.active {
    border-color: var(--panel-border-hover);
    background: rgba(18, 20, 24, 0.75);
}

.faq-item.active .faq-answer {
    padding: 16px 24px 24px 24px;
    max-height: 800px;
    border-top-color: var(--panel-border);
}

.faq-icon {
    font-size: 0.9rem;
    transition: transform 0.25s;
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
}

/* Footer */
footer {
    border-top: 1px solid var(--panel-border);
    padding: 40px 24px;
    text-align: center;
    background: #040507;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

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


/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    background: #000;
    aspect-ratio: 16 / 10;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: scale(0.98);
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
    padding: 20px;
    text-align: center;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    font-size: 0.8rem;
}

.carousel-nav-btn:hover {
    background: var(--accent-blue);
    color: #000;
    border-color: var(--accent-blue);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.carousel-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    background: var(--accent-blue);
    transform: scale(1.2);
}


/* Table Styles */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--panel-border);
    margin-top: 50px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    color: var(--text-muted);
}

th, td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid var(--panel-border);
}

tr:hover td {
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-light);
    transition: all 0.2s;
}


/* Glowing Orbs in Background */
.glow-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(130px);
    opacity: 0.08;
}

.orb-1 {
    background: var(--accent-blue);
    top: -150px;
    left: -150px;
    animation: floatOrb1 30s ease-in-out infinite alternate;
}

.orb-2 {
    background: var(--accent-cyan);
    bottom: -150px;
    right: -150px;
    animation: floatOrb2 30s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 100px) scale(1.15); }
}

@keyframes floatOrb2 {
    0% { transform: translate(0, 0) scale(1.15); }
    100% { transform: translate(-150px, -100px) scale(0.9); }
}



/* ===== WORLD CLASS SAAS PRICING SYSTEM ===== */
.pricing-hero-container {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
}

/* Segmented Toggle Control */
.pricing-segmented-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.pricing-segmented-control {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    justify-content: center !important;
    width: auto !important;
    margin: 0 auto !important;
}

.segment-btn {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    outline: none !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05) !important;
}

.segment-btn:hover {
    color: #ffffff !important;
    border-color: rgba(34, 211, 238, 0.45) !important;
    background: rgba(15, 23, 42, 0.85) !important;
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 6px 18px rgba(34, 211, 238, 0.18), 0 0 8px rgba(34, 211, 238, 0.08) !important;
}

/* Active states by ID to differentiate brand colors and sub-categories */

/* Brand Selector - Assistenza M2Labs (Viola/Indaco) */
#pricing-brand-btn-m2labs.active {
    background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
    border-color: #a78bfa !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(124, 58, 237, 0.48), 0 0 12px rgba(167, 139, 250, 0.25) !important;
}

/* Brand Selector - Software (Deep Blue) */
#pricing-brand-btn-software.active {
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
    border-color: #60a5fa !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(29, 78, 216, 0.48), 0 0 12px rgba(96, 165, 250, 0.25) !important;
}

/* Brand Selector - PA & Aiden (Teal/Cyan) */
#pricing-brand-btn-gov.active {
    background: linear-gradient(135deg, #0d9488, #0891b2) !important;
    border-color: #22d3ee !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.48), 0 0 12px rgba(34, 211, 238, 0.25) !important;
}

/* Sub-category Selector - Licenze Individuali (Cyber Blue) */
#seg-btn-pro.active {
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
    border-color: #60a5fa !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(29, 78, 216, 0.48), 0 0 12px rgba(96, 165, 250, 0.25) !important;
}

/* Sub-category Selector - Team & Corporate (Indigo/Purple) */
#seg-btn-corporate.active {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    border-color: #818cf8 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.48), 0 0 12px rgba(129, 140, 248, 0.25) !important;
}

/* Sub-category Selector - Noleggio Licenze (Emerald/Green) */
#seg-btn-rent.active {
    background: linear-gradient(135deg, #059669, #047857) !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.48), 0 0 12px rgba(52, 211, 153, 0.25) !important;
}

/* Sub-category Selector - Versioni Demo (Amber/Orange) */
#seg-btn-free.active {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    border-color: #fbbf24 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.48), 0 0 12px rgba(251, 191, 36, 0.25) !important;
}

/* Sub-category Selector - Crea Pacchetto (Magenta/Pink) */
#seg-btn-custom.active {
    background: linear-gradient(135deg, #db2777, #be185d) !important;
    border-color: #f472b6 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(219, 39, 119, 0.48), 0 0 12px rgba(244, 114, 182, 0.25) !important;
}

/* Grid Layout */
.pricing-view-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)) !important;
    gap: 28px !important;
    align-items: stretch !important;
    transition: all 0.4s ease !important;
}

.pricing-view-grid.hidden-view {
    display: none !important;
    opacity: 0 !important;
    transform: scale(0.98) !important;
}

.pricing-view-grid.active-view {
    display: grid !important;
    animation: priceGridAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes priceGridAppear {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Card Masterpiece Design */
.price-card-premium {
    position: relative !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 22px !important;
    padding: 32px 26px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 24px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    overflow: hidden !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.price-card-premium::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: transparent !important;
    transition: all 0.35s ease !important;
}

.price-card-premium.hub-card-p::before { background: linear-gradient(90deg, #38bdf8, #0284c7) !important; }
.price-card-premium.lab-card-p::before { background: linear-gradient(90deg, #22d3ee, #9333ea) !important; }
.price-card-premium.suite-card-p::before { background: linear-gradient(90deg, #22d3ee, #3b82f6, #ec4899) !important; }

.price-card-premium:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

/* Popular Suite Glow */
.price-card-premium.suite-card-p {
    background: transparent !important;
    border: 1px solid rgba(34, 211, 238, 0.5) !important;
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.15) !important;
}

.price-card-premium.suite-card-p:hover {
    box-shadow: 0 25px 65px rgba(34, 211, 238, 0.35) !important;
    border-color: rgba(34, 211, 238, 0.8) !important;
}

.card-top-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    width: fit-content !important;
    margin-bottom: 12px !important;
}

.pill-blue { background: rgba(56, 189, 248, 0.15) !important; color: #38bdf8 !important; border: 1px solid rgba(56, 189, 248, 0.3) !important; }
.pill-purple { background: rgba(192, 132, 252, 0.15) !important; color: #c084fc !important; border: 1px solid rgba(192, 132, 252, 0.3) !important; }
.pill-cyan { background: rgba(34, 211, 238, 0.15) !important; color: #22d3ee !important; border: 1px solid rgba(34, 211, 238, 0.3) !important; }
.pill-green { background: rgba(34, 197, 94, 0.15) !important; color: #22c55e !important; border: 1px solid rgba(34, 197, 94, 0.3) !important; }
.pill-red { background: rgba(239, 68, 68, 0.15) !important; color: #ef4444 !important; border: 1px solid rgba(239, 68, 68, 0.3) !important; }
.pill-gold { background: linear-gradient(90deg, rgba(234, 179, 8, 0.22), rgba(245, 158, 11, 0.22)) !important; color: #fbbf24 !important; border: 1px solid rgba(251, 191, 36, 0.45) !important; text-shadow: 0 0 8px rgba(251, 191, 36, 0.3) !important; box-shadow: 0 0 12px rgba(251, 191, 36, 0.2) !important; }
.pill-free { background: rgba(255, 255, 255, 0.1) !important; color: #cbd5e1 !important; border: 1px solid rgba(255, 255, 255, 0.2) !important; }

.card-heading h3 {
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.25 !important;
}

.card-heading p {
    color: #cbd5e1 !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.card-price-block {
    margin: 22px 0 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 16px !important;
}

.card-price-num {
    font-size: 2.7rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    letter-spacing: -0.02em !important;
    line-height: 1 !important;
}

.card-price-sub {
    font-size: 0.82rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.card-checklist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.card-checklist li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 0.86rem !important;
    color: #cbd5e1 !important;
    line-height: 1.4 !important;
}

.check-dot {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.7rem !important;
    font-weight: 900 !important;
    flex-shrink: 0 !important;
    margin-top: 1px !important;
}

.dot-blue { background: rgba(56, 189, 248, 0.2) !important; color: #38bdf8 !important; }
.dot-purple { background: rgba(192, 132, 252, 0.2) !important; color: #22d3ee !important; }
.dot-cyan { background: rgba(34, 211, 238, 0.25) !important; color: #22d3ee !important; }
.dot-gray { background: rgba(255, 255, 255, 0.1) !important; color: #94a3b8 !important; }

/* Premium Buttons */
.btn-card-premium {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    text-align: center !important;
}

.btn-blue-p {
    background: linear-gradient(135deg, #0284c7, #0369a1) !important;
    color: #ffffff !important;
    border: 1px solid #38bdf8 !important;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35) !important;
}

.btn-blue-p:hover {
    background: linear-gradient(135deg, #0369a1, #075985) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.5) !important;
}

.btn-purple-p {
    background: linear-gradient(135deg, #9333ea, #7e22ce) !important;
    color: #ffffff !important;
    border: 1px solid #22d3ee !important;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.35) !important;
}

.btn-purple-p:hover {
    background: linear-gradient(135deg, #7e22ce, #6b21a8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5) !important;
}

.btn-suite-p {
    background: linear-gradient(135deg, #1e293b, #0f172a) !important;
    color: #fbbf24 !important;
    border: 1px solid #d97706 !important;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25) !important;
}

.btn-suite-p:hover {
    background: linear-gradient(135deg, #334155, #1e293b) !important;
    color: #fef08a !important;
    border-color: #fbbf24 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.45) !important;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: all 0.25s ease !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-outline-p {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-outline-p:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   CARRELLO ACQUISTI & SISTEMA DI CHECKOUT (SHOPPING CART & CHECKOUT)
   ========================================================================== */

/* 1. Pulsante Carrello Header Nav */
.cart-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.3);
    color: #e0f2fe;
    padding: 7px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-right: 6px;
}

.cart-nav-btn:hover {
    background: rgba(34, 211, 238, 0.18);
    border-color: #22d3ee;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.35);
    transform: translateY(-1px);
}

.brand-card.selected {
    flex: 0 1 520px !important;
    max-width: 520px !important;
    opacity: 1 !important;
    filter: none !important;
}

.cart-badge {
    background: #06b6d4;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

/* 2. Overlay Sfondo */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 3. Drawer Carrello (Pannello Laterale) */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -460px;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: linear-gradient(180deg, #0b1329 0%, #070a14 100%);
    border-left: 1px solid rgba(34, 211, 238, 0.25);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.8), -5px 0 20px rgba(34, 211, 238, 0.15);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}

.cart-drawer.active {
    right: 0;
    visibility: visible !important;
}

/* Testata Carrello */
.cart-header {
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 23, 42, 0.6);
}

.cart-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-title-group h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.cart-count-pill {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    padding: 3px 10px;
    border-radius: 12px;
}

.cart-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cart-close-btn:hover {
    color: #38bdf8;
}

/* Corpo Carrello (Lista Prodotti) */
.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.cart-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    opacity: 0.7;
}

.cart-empty-state p {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Elemento Singolo nel Carrello */
.cart-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    transition: border-color 0.2s ease;
}

.cart-item:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.cart-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cart-item-title {
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.cart-item-subtitle {
    font-size: 0.78rem;
    color: #94a3b8;
}

.cart-item-del-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    padding: 2px 6px;
}

.cart-item-del-btn:hover {
    opacity: 1;
}

.cart-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2px 6px;
}

.cart-qty-btn {
    background: none;
    border: none;
    color: #38bdf8;
    font-size: 1.1rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.cart-qty-btn:hover {
    background: rgba(56, 189, 248, 0.15);
}

.cart-qty-num {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    min-width: 20px;
    text-align: center;
}

.cart-item-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #22d3ee;
}

/* Footer Carrello (Totali e Checkout) */
.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.8);
}

.cart-bundle-alert {
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: #22d3ee;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.cart-price-row.total-row {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    margin-top: 10px;
    margin-bottom: 18px;
}

.cart-price-row.total-row .total-price {
    color: #22d3ee;
    font-size: 1.35rem;
}

.cart-actions-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-clear-btn {
    background: none;
    border: none;
    color: #64748b;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    text-align: center;
    margin-top: 4px;
}

.cart-clear-btn:hover {
    color: #ef4444;
}

/* 4. Modale di Checkout */
.checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.checkout-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    background: linear-gradient(135deg, #0f172a 0%, #090d18 100%);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 20px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(34, 211, 238, 0.15);
    padding: 30px;
    position: relative;
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-header h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.checkout-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.checkout-summary-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Stile globale per le opzioni dei menu a tendina per correggere il contrasto (testo bianco su sfondo scuro) */
select option {
    background-color: #0f172a !important;
    color: #ffffff !important;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22d3ee;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.25);
}

.checkout-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 5. Toast Notification Pop-up */
/* Enhanced Prominent Cart Toast Notification */
.cart-toast {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(-50px);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(11, 19, 41, 0.98));
    border: 1px solid #10b981;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.35);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: #ffffff;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    backdrop-filter: blur(16px);
    max-width: 580px;
    width: calc(100% - 32px);
    box-sizing: border-box;
}

.cart-toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.toast-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.toast-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.toast-header-title {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #10b981;
    font-weight: 800;
}

.toast-product-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.toast-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.toast-btn-cart {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.toast-btn-cart:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.toast-btn-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.toast-btn-close:hover {
    color: #ffffff;
}

/* Button Added Feedback State */
.btn-item-added {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
    transform: scale(0.98);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.6) !important;
}

/* Cart Badge Bounce Animation */
@keyframes badgePop {
    0% { transform: scale(1); }
    40% { transform: scale(1.45); }
    100% { transform: scale(1); }
}

.badge-bounce {
    animation: badgePop 0.4s ease-out !important;
}

@media (max-width: 520px) {
    .cart-toast {
        top: 16px;
        padding: 10px 14px;
        gap: 10px;
    }
    .toast-product-name {
        max-width: 150px;
        font-size: 0.84rem;
    }
    .toast-btn-cart {
        padding: 6px 10px;
        font-size: 0.76rem;
    }
}

/* Custom Pulsing Glow Animations for Section Headers */
@keyframes pulseGlowCyan {
    0% {
        filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.25)) drop-shadow(0 0 15px rgba(34, 211, 238, 0.1));
    }
    100% {
        filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.6)) drop-shadow(0 0 30px rgba(34, 211, 238, 0.3));
    }
}

@keyframes pulseGlowPurple {
    0% {
        filter: drop-shadow(0 0 5px rgba(192, 132, 252, 0.25)) drop-shadow(0 0 15px rgba(192, 132, 252, 0.1));
    }
    100% {
        filter: drop-shadow(0 0 14px rgba(192, 132, 252, 0.6)) drop-shadow(0 0 30px rgba(192, 132, 252, 0.3));
    }
}

.glow-title-cyan {
    animation: pulseGlowCyan 2s infinite alternate ease-in-out;
}

.glow-title-purple {
    animation: pulseGlowPurple 2s infinite alternate ease-in-out;
}

/* Also define pulseGlow for status dots */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 4px #22d3ee;
        transform: scale(0.95);
    }
    100% {
        box-shadow: 0 0 12px #22d3ee;
        transform: scale(1.05);
    }
}

/* White text glow effect for subtitles */
.glow-subtitle-white {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 255, 255, 0.15);
}

/* Glowing styles for card titles under subtitles */
.topics-container h4 {
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}

.lab-topics-container h4 {
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.45);
}

@media (max-width: 900px) {
    .topics-grid-hub, .topics-grid-lab {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 500px) {
    .topics-grid-hub, .topics-grid-lab {
        grid-template-columns: 1fr !important;
    }
}

/* Cyberpunk Interactive Timeline Styles */
.timeline-step-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0b1329;
    border: 2px solid #1e293b;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-step-btn .step-num {
    font-size: 0.95rem;
    font-weight: 800;
    font-family: var(--font-mono);
}

.timeline-step-btn .step-lbl {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.timeline-step-btn.active {
    background: #020617;
    border-color: #22d3ee;
    color: #22d3ee;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
}

.timeline-step-btn.active .step-lbl {
    color: #22d3ee;
    text-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

.timeline-step-btn:hover {
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

/* Quiz Forense Interattivo */
.quiz-tab-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

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

.quiz-tab-btn.active-tab {
    background: rgba(34, 211, 238, 0.15);
    border-color: #22d3ee;
    color: #22d3ee;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}

.quiz-opt-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #cbd5e1;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.quiz-opt-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.quiz-opt-btn .btn-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 15px;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.2s ease;
}

.quiz-opt-btn:hover .btn-indicator {
    background: #22d3ee;
    color: #020617;
}

.quiz-opt-btn.correct {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.1) !important;
    color: #34d399 !important;
}

.quiz-opt-btn.correct .btn-indicator {
    background: #10b981 !important;
    color: #020617 !important;
}

.quiz-opt-btn.incorrect {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.08) !important;
    color: #f87171 !important;
}

.quiz-opt-btn.incorrect .btn-indicator {
    background: #ef4444 !important;
    color: #ffffff !important;
}

/* Professional SVG Vector Icon Badges */
.icon-svg-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.icon-svg-badge.cyan-badge {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.icon-svg-badge.purple-badge {
    background: rgba(192, 132, 252, 0.12);
    border: 1px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.15);
}

.icon-svg-badge.gold-badge {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
}

.icon-glow-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.icon-glow-box.cyan-glow {
    background: radial-gradient(circle, rgba(34, 211, 238, 0.18) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(34, 211, 238, 0.35);
    box-shadow: 0 4px 20px rgba(34, 211, 238, 0.2);
}

.icon-glow-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 211, 238, 0.35);
}

.pricing-card-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* ===== PROMO BAR CYBER STYLE ===== */
.promo-bar {
    background: linear-gradient(90deg, rgba(2, 132, 199, 0.3) 0%, rgba(34, 211, 238, 0.25) 50%, rgba(16, 185, 129, 0.3) 100%);
    border-bottom: 1px solid rgba(34, 211, 238, 0.25);
    color: #e0f2fe;
    text-align: center;
    padding: 5px 16px;
    z-index: 1003;
    position: relative;
    width: 100%;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.promo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.promo-badge {
    background: rgba(34, 211, 238, 0.2);
    border: 1px solid rgba(34, 211, 238, 0.4);
    color: #22d3ee;
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.promo-text {
    font-weight: 500;
    color: #f0f9ff;
    line-height: 1.3;
    font-size: 0.80rem;
}

.promo-button {
    background: rgba(34, 211, 238, 0.2);
    border: 1px solid rgba(34, 211, 238, 0.5);
    color: #38bdf8;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.promo-button:hover {
    background: rgba(34, 211, 238, 0.4);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
}

.promo-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.2s ease;
}

.promo-close:hover {
    color: #ffffff;
}

.promo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-right: 30px;
}

.promo-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
}

.promo-text strong {
    color: #22d3ee;
    font-weight: 700;
}

.promo-button {
    background: rgba(34, 211, 238, 0.05);
    color: #22d3ee;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 5px 14px;
    border: 1px solid rgba(34, 211, 238, 0.45);
    border-radius: 6px; /* Layout rettangolare stondato moderno */
    cursor: pointer;
    transition: all 0.25s ease;
}

.promo-button:hover {
    background: #22d3ee;
    color: #07080a;
    border-color: #22d3ee;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.45);
}

.promo-close {
    position: absolute;
    right: 0;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.promo-close:hover {
    color: #ffffff;
}

@keyframes promoSlideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 992px) {
    #promoBar,
    .promo-bar {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

/* ===== SERVIZI M2LABS SECTION ===== */
.servizi-m2labs-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.container-m2labs {
    width: 100%;
}

.category-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

/* Guarantee Banner */
.guarantee-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 48px;
    background: rgba(6, 182, 212, 0.04) !important;
    border: 1px solid rgba(6, 182, 212, 0.25) !important;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.05);
}

.guarantee-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.4));
}

.guarantee-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.guarantee-text strong {
    color: #22d3ee;
}

/* Services Grid */
.services-cyber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-cyber-card {
    padding: 40px 30px;
    background: rgba(15, 23, 42, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-cyber-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(34, 211, 238, 0.15) !important;
}

.service-cyber-card:hover::before {
    opacity: 1;
}

.service-cyber-icon {
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
    color: #22d3ee;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2) 0%, rgba(34, 211, 238, 0.04) 50%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.15), 
        inset 0 -2px 6px rgba(0, 0, 0, 0.4), 
        0 4px 10px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(34, 211, 238, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 500px;
}

.service-cyber-icon i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s ease;
}

.service-cyber-card:hover .service-cyber-icon {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.45) 0%, rgba(34, 211, 238, 0.1) 50%, rgba(15, 23, 42, 0.8) 100%);
    border-color: rgba(34, 211, 238, 0.7);
    transform: translateY(-8px) rotateX(12deg) rotateY(12deg) scale(1.1);
    color: #ffffff;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.3), 
        inset 0 -2px 6px rgba(0, 0, 0, 0.4), 
        0 15px 30px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(34, 211, 238, 0.55);
}

.service-cyber-card:hover .service-cyber-icon i {
    transform: translateZ(10px);
}

.service-cyber-title {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

.service-cyber-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.service-cyber-cta {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    color: #22d3ee;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.service-cyber-card:hover .service-cyber-cta {
    color: #ffffff;
    text-decoration: underline;
}

/* Benefits Grid */
.benefits-cyber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.benefit-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: rgba(15, 23, 42, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-radius: 16px;
}

.benefit-icon {
    font-size: 1.5rem;
    color: #38bdf8;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4));
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text h4 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.benefit-text p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .servizi-m2labs-section {
        padding: 60px 16px;
    }
    .guarantee-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }
    .services-cyber-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== CHI SIAMO SECTION ===== */
.about-us-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 60px auto;
    position: relative;
    z-index: 10;
}

.about-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 48px;
}

.stat-cyber-card {
    padding: 35px 30px;
    background: rgba(15, 23, 42, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.stat-cyber-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.15) !important;
}

.stat-cyber-card .stat-icon {
    font-size: 2rem;
    color: #38bdf8;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
}

.stat-cyber-card .stat-number {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.stat-cyber-card .stat-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Certifications Showcase */
.certifications-logos-showcase {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
    padding: 30px;
    background: rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
}

.cert-logo-item {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 220px;
    height: 140px;
    padding: 15px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.1) ;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cert-logo-item:hover {
    color: #22d3ee;
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
    background: rgba(34, 211, 238, 0.02);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.testimonials-cyber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 48px;
}

.testimonial-cyber-card {
    padding: 35px 30px;
    background: rgba(15, 23, 42, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.testimonial-cyber-card:hover {
    transform: translateY(-3px);
    border-color: rgba(192, 132, 252, 0.3) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45), 0 0 15px rgba(192, 132, 252, 0.1) !important;
}

.testimonial-cyber-card .stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 100%);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 0 10px rgba(192, 132, 252, 0.3);
}

.author-info h4 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.author-info span {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===== SERVICE POPUP / MODAL SELECTION ITEMS ===== */
.service-selection-box {
    margin-bottom: 24px;
}

.service-selection-grid-cyber {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.selection-cyber-item {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.selection-cyber-item:hover {
    color: #ffffff;
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(34, 211, 238, 0.04);
}

.selection-cyber-item.selected {
    color: #07080a;
    background: linear-gradient(135deg, #06b6d4 0%, #38bdf8 100%);
    border-color: #22d3ee;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.45);
}

.highlighted-field-cyber {
    border-color: rgba(34, 211, 238, 0.4) !important;
    background: rgba(6, 182, 212, 0.04) !important;
}

/* Shake animation for form errors */
.shake-anim {
    animation: formShake 0.5s ease-in-out;
}

@keyframes formShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
    20%, 40%, 60%, 80% { transform: translateX(6px); }
}

/* ===== FOOTER CYBER STYLE ===== */
.footer-cyber {
    background: #07080a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 24px 30px;
    position: relative;
    z-index: 10;
}

.footer-cyber-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-cyber-col h3 {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

.footer-cyber-col ul li {
    margin-bottom: 12px;
}

.footer-cyber-col ul li a {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-cyber-col ul li a:hover {
    color: #22d3ee;
}

.footer-cyber-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-cyber-logo img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.3));
}

.footer-cyber-logo span {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.footer-brand-desc {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

.footer-contact-details {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-contact-details i {
    color: #22d3ee;
    margin-right: 8px;
}

.footer-legal-text {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

.footer-cyber-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-cyber-bottom p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #94a3b8;
}

@media (max-width: 992px) {
    .footer-cyber-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-cyber-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== SPA PAGE SECTIONS TRANSITION ===== */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: pageFadeIn 0.5s ease-out forwards;
}

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

.nav-links a.active-menu-item {
    color: #22d3ee !important;
    border-bottom: none !important;
    padding-bottom: 6px;
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.8), 0 0 24px rgba(34, 211, 238, 0.4);
}

/* Override per rendere i bottoni della hero corti e allineati */
.hero-btn-cyber {
    width: auto !important;
    min-width: 160px !important;
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
    display: inline-flex !important;
}

/* Effetto Titolo Ice Glow Shimmer */
.title-ice-glow {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 30%, #bae6fd 65%, #38bdf8 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.35));
    animation: shimmerAnim 5s linear infinite alternate;
}

@keyframes shimmerAnim {
    0% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.25));
    }
    100% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 25px rgba(34, 211, 238, 0.55));
    }
}

/* Effetto Neon Olografico per i Loghi della Hero */
.hero-logo-glow {
    position: relative;
    z-index: 1;
    transition: filter 0.4s ease, transform 0.4s ease;
    backface-visibility: hidden; /* Ottimizza l'anti-aliasing hardware in fase di scale */
    filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.4)) drop-shadow(0 0 35px rgba(34, 211, 238, 0.75)) drop-shadow(0 0 65px rgba(34, 211, 238, 0.3)) !important;
}

.hero-logo-glow:hover {
    filter: contrast(1.16) brightness(1.08) drop-shadow(0 0 15px rgba(34, 211, 238, 0.5)) drop-shadow(0 0 50px rgba(34, 211, 238, 0.95)) drop-shadow(0 0 90px rgba(34, 211, 238, 0.6)) !important;
    transform: scale(1.03);
}

/* ==========================================================================
   Master Brand Split Hero Selector (Floating Design)
   ========================================================================== */
.master-split-hero {
    padding: 60px 20px 10px;
    background: transparent;
    position: relative;
    z-index: 100;
    max-width: 1200px;
    margin: 0 auto;
}

.master-split-hero:not(.brand-selected) {
    min-height: 500px;
}

.split-hero-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    position: relative;
    flex-wrap: wrap;
}

.brand-card {
    flex: 1 1 300px;
    max-width: 360px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 20px 20px;
    position: relative;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}

.brand-logo-img {
    height: 160px;
    width: auto;
    object-fit: contain;
    margin-bottom: 24px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backface-visibility: hidden;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.2));
}

.card-gov .brand-logo-img {
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
    margin-bottom: 42px;
}

.brand-card-title {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0px;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
}

.card-m2labs .brand-card-title {
    color: #bae6fd;
    text-shadow: 0 0 8px rgba(186, 230, 253, 0.2);
}

.card-forensichub .brand-card-title {
    color: #a5f3fc;
    text-shadow: 0 0 8px rgba(165, 243, 252, 0.2);
}

.card-gov .brand-card-title {
    color: #a5f3fc;
    text-shadow: 0 0 8px rgba(165, 243, 252, 0.2);
}

/* Description Expansion on Hover */
.brand-card-desc-wrap {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin-top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
    pointer-events: none;
}

.brand-card:hover .brand-card-desc-wrap,
.brand-card.active-card .brand-card-desc-wrap {
    max-height: 520px;
    opacity: 1;
    margin-top: 16px;
}

.brand-card-desc {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    max-width: 400px;
    transition: color 0.3s ease;
}

/* Vertical Divider */
.split-divider {
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15) 20%, rgba(255, 255, 255, 0.15) 80%, transparent);
    align-self: stretch;
}

@media (max-width: 991px) {
    .split-divider {
        display: none;
    }
}

/* Card Glow Effect */
.brand-card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.card-m2labs .brand-card-glow {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
}

.card-forensichub .brand-card-glow {
    background: radial-gradient(circle, rgba(34, 211, 238, 0.3) 0%, transparent 70%);
}

.card-gov .brand-card-glow {
    background: radial-gradient(circle, rgba(34, 211, 238, 0.3) 0%, transparent 70%);
}

/* Hover and Click Glows */
.brand-card:hover .brand-logo-img,
.brand-card.active-card .brand-logo-img {
    animation: none !important;
    filter: drop-shadow(0 0 35px rgba(56, 189, 248, 0.8)) !important;
    transform: scale(1.05);
}

.brand-card:hover .brand-card-glow,
.brand-card.active-card .brand-card-glow {
    opacity: 1;
}

.brand-card.active-card .brand-card-title {
    color: #22d3ee;
    text-shadow: 0 0 15px rgba(34, 211, 238, 0.6);
}

.brand-card.active-card .brand-card-desc {
    color: #e2e8f0;
}

/* Has Hover Dimming Logic */
.split-hero-container.has-hover .brand-card:not(:hover):not(.active-card) {
    opacity: 0.35;
    filter: grayscale(30%);
}

/* Selected / Unselected Cinematic Animation States */
.split-hero-container {
    transition: gap 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-hero-container.brand-selected {
    gap: 0 !important;
}

.split-hero-container.brand-selected .split-divider {
    width: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.brand-card.unselected {
    opacity: 0.55 !important; /* Aumentato da 0.35 per renderlo piu visibile */
    flex: 0 0 100px !important;
    max-width: 100px !important;
    width: 100px !important;
    padding: 20px 5px !important;
    pointer-events: auto !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.brand-card.unselected .brand-logo-img {
    animation: secondary-logo-pulse 2.2s ease-in-out infinite !important; /* Pulsazione leggermente piu rapida e reattiva */
}

.brand-card.unselected:hover {
    opacity: 0.95 !important;
    cursor: pointer;
}

.brand-card.unselected:hover .brand-logo-img {
    animation: none !important;
    opacity: 1 !important;
    transform: scale(1.08) !important;
    filter: drop-shadow(0 0 22px rgba(34, 211, 238, 0.85)) drop-shadow(0 0 38px rgba(34, 211, 238, 0.45)) !important;
}

@keyframes secondary-logo-pulse {
    0%, 100% {
        opacity: 0.60; /* Aumentato da 0.45 */
        transform: scale(0.95);
        filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.45));
    }
    50% {
        opacity: 1.0; /* Aumentato da 0.85 per massima visibilita nella fase attiva del respiro */
        transform: scale(1.10); /* Effetto respiro d'attesa piu pronunciato */
        filter: drop-shadow(0 0 28px rgba(34, 211, 238, 0.95)) drop-shadow(0 0 45px rgba(34, 211, 238, 0.55));
    }
}

/* Unselected Brand Card Offsets & Orders for 3-Column Layout */
@media (min-width: 1201px) {
    /* M2Labs Active state: Gov on left, M2Labs in center, Software on right */
    .m2labs-active .card-gov {
        order: -1;
        transform: scale(0.55) translateX(-250px) !important;
        margin-right: -120px !important;
    }
    .m2labs-active .card-m2labs {
        order: 0;
        transform: scale(1) translateX(0) !important;
        margin: 0 !important;
    }
    .m2labs-active .card-forensichub {
        order: 1;
        transform: scale(0.55) translateX(250px) !important;
        margin-left: -120px !important;
    }

    /* Software Active state: M2Labs on left, Software in center, Gov on right */
    .software-active .card-m2labs {
        order: -1;
        transform: scale(0.55) translateX(-250px) !important;
        margin-right: -120px !important;
    }
    .software-active .card-forensichub {
        order: 0;
        transform: scale(1) translateX(0) !important;
        margin: 0 !important;
    }
    .software-active .card-gov {
        order: 1;
        transform: scale(0.55) translateX(250px) !important;
        margin-left: -120px !important;
    }

    /* Gov Active state: Software on left, Gov in center, M2Labs on right */
    .gov-active .card-forensichub {
        order: -1;
        transform: scale(0.55) translateX(-250px) !important;
        margin-right: -120px !important;
    }
    .gov-active .card-gov {
        order: 0;
        transform: scale(1) translateX(0) !important;
        margin: 0 !important;
    }
    .gov-active .card-m2labs {
        order: 1;
        transform: scale(0.55) translateX(250px) !important;
        margin-left: -120px !important;
    }
}

/* Fallback per schermi tablet e portatili (max-width: 1200px) per evitare sovrapposizioni orizzontali */
@media (max-width: 1200px) {
    .split-hero-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        height: auto !important;
        min-height: 520px !important;
        gap: 12px !important;
    }
    
    .master-split-hero {
        height: auto !important;
        min-height: 520px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    .split-divider {
        width: 70% !important;
        height: 1px !important;
        margin: 12px auto !important;
        background: radial-gradient(circle, rgba(34, 211, 238, 0.4) 0%, rgba(34, 211, 238, 0) 100%) !important;
    }
    
    .brand-card {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 220px !important;
        padding: 20px 16px !important;
        transform: scale(1) !important;
        margin: 0 !important;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    
    .brand-card-inner {
        height: auto !important;
    }
    
    .brand-logo-img {
        height: 80px !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
    }
    
    .brand-card-title {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
    }
    
    .brand-card-desc-wrap {
        max-height: 0 !important;
        opacity: 0 !important;
    }
    
    .brand-card:hover .brand-card-desc-wrap,
    .brand-card.active-card .brand-card-desc-wrap {
        max-height: 400px !important;
        opacity: 1 !important;
    }

    /* Selected Brand Card State */
    .brand-card.selected {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 260px !important;
        padding: 20px 16px !important;
    }
    
    .brand-card.selected .brand-logo-img {
        transform: none !important;
        height: 95px !important;
        max-width: 100% !important;
        margin-bottom: 18px !important;
    }
    
    .brand-card.selected .brand-card-title {
        font-size: 1.25rem !important;
        margin-bottom: 10px !important;
    }

    /* Unselected (Secondary) Brand Card State */
    .brand-card.unselected {
        flex: 1 1 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        height: auto !important;
        min-height: 80px !important;
        padding: 10px 8px !important;
        margin: 0 !important;
        background: rgba(15, 23, 42, 0.65) !important;
        border: 1px solid rgba(34, 211, 238, 0.25) !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        opacity: 0.75 !important;
        transform: none !important;
        transition: all 0.3s ease !important;
    }
    
    .brand-card.unselected:hover,
    .brand-card.unselected:active {
        background: rgba(34, 211, 238, 0.12) !important;
        border-color: rgba(34, 211, 238, 0.5) !important;
        opacity: 1 !important;
    }
    
    .card-m2labs.unselected,
    .card-forensichub.unselected,
    .card-gov.unselected {
        margin: 0 !important;
        transform: none !important;
    }
    
    .brand-card.unselected .brand-card-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
        height: 100% !important;
        text-align: center !important;
    }
    
    .brand-card.unselected .brand-logo-img {
        height: 22px !important;
        max-width: 90% !important;
        width: auto !important;
        margin-bottom: 0 !important;
        box-shadow: none !important;
        border-radius: 4px !important;
        animation: none !important;
        object-fit: contain !important;
    }
    
    .brand-card.unselected .brand-card-title {
        font-size: 0.70rem !important;
        font-weight: 700 !important;
        color: #e2e8f0 !important;
        display: block !important;
        margin-bottom: 0 !important;
        max-height: none !important;
        opacity: 1 !important;
        white-space: normal !important;
        overflow: visible !important;
        line-height: 1.2 !important;
    }
    
    .brand-card.unselected .brand-card-desc-wrap {
        display: none !important;
    }

    /* Disabilita zoom e spostamento su hover per netflix-card su schermi medi/piccoli */
    #net-card-hub:hover,
    #net-card-case:hover,
    #net-card-triage:hover,
    #net-card-video:hover,
    #net-card-aiden:hover,
    #net-card-mobile:hover,
    #net-card-blackbox:hover,
    #net-card-ironclad:hover,
    .netflix-card:hover {
        transform: none !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.4) !important;
    }
}

.brand-card.unselected .brand-card-title,
.brand-card.unselected .brand-card-desc-wrap {
    max-height: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.brand-card.selected {
    flex: 0 1 520px !important;
    max-width: 520px !important;
    opacity: 1 !important;
    filter: none !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
    padding-top: 80px !important;
}

.brand-card.selected .brand-logo-img {
    animation: none !important;
    transform: scale(2.0) !important;
    filter: drop-shadow(0 0 55px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 100px rgba(56, 189, 248, 0.6)) !important;
    margin-bottom: 100px !important;
}

.brand-card.selected .brand-card-title {
    font-size: 1.6rem !important;
}

.brand-card.selected .brand-card-desc {
    max-width: 460px !important;
}

/* Features Section (M2Labs) */
.m2labs-features-section {
    padding: 80px 24px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    position: relative;
    z-index: 10;
}

.features-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.features-checklist-card {
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

.feature-check-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 1.08rem;
    color: #e2e8f0;
    font-family: var(--font-body);
}

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

.feature-check-item .green-badge {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.features-text h2 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: var(--font-title);
}

.features-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-family: var(--font-body);
}

@media (max-width: 991px) {
    .features-grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .feature-check-item {
        justify-content: flex-start;
        text-align: left;
    }
    
    .features-text h2 {
        font-size: 1.9rem;
    }
}


/* Thematic SVG backgrounds for service cards (neon & ice effect) */
.service-cyber-bg-svg {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 130px;
    height: 130px;
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 10px var(--neon-glow-color, #22d3ee));
}

.service-cyber-card:hover .service-cyber-bg-svg {
    opacity: 0.16;
    transform: scale(1.15) rotate(-6deg);
    filter: drop-shadow(0 0 20px var(--neon-glow-color, #22d3ee)) drop-shadow(0 0 35px var(--neon-glow-color, #22d3ee));
}

/* Neon Pulse Background Constellation Style */
.neon-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2; /* Sopra lo sfondo nero ma sotto tutti i testi/card attive */
    overflow: hidden;
    transition: opacity 0.8s ease;
    opacity: 0;
}

.neon-bg-container.active {
    opacity: 1;
}

.neon-element {
    position: absolute;
    pointer-events: none;
    color: #22d3ee;
    will-change: opacity, filter;
    animation: neon-pulse ease-in-out infinite;
}

.neon-element svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.2;
}

@keyframes neon-pulse {
    0%, 100% {
        opacity: 0.015;
        filter: drop-shadow(0 0 2px rgba(34, 211, 238, 0.05));
    }
    45%, 55% {
        opacity: var(--max-opacity, 0.15);
        filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.35)) drop-shadow(0 0 15px rgba(34, 211, 238, 0.15));
    }
}

@keyframes logo-breath {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.3));
    }
    50% {
        transform: scale(1.15); /* Pulsazione del 15% - altissima visibilità */
        filter: drop-shadow(0 0 45px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 75px rgba(56, 189, 248, 0.45));
    }
}



/* ==========================================================================
   C-LAB TRIAGEPRO DESIGN STYLES
   ========================================================================== */
.triage-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px !important;
    margin-bottom: 30px !important;
}

.triage-tabs button {
    background: rgba(15, 23, 42, 0.55) !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.triage-tabs button:hover {
    background: rgba(30, 41, 59, 0.8) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

.triage-tabs button.active-triage-tab {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(34, 211, 238, 0.05)) !important;
    color: #22d3ee !important;
    border-color: #22d3ee !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3), inset 0 0 8px rgba(34, 211, 238, 0.1) !important;
    transform: translateY(-1px) !important;
}

.triage-tabs button#triage-tab-crypto.active-triage-tab {
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.18), rgba(192, 132, 252, 0.05)) !important;
    color: #22d3ee !important;
    border-color: #22d3ee !important;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.3), inset 0 0 8px rgba(192, 132, 252, 0.1) !important;
}

.triage-tabs button#triage-tab-sys.active-triage-tab {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(34, 211, 238, 0.05)) !important;
    color: #22d3ee !important;
    border-color: #22d3ee !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3), inset 0 0 8px rgba(34, 211, 238, 0.1) !important;
}

.triage-modules-table th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    font-weight: 700;
    color: #fff;
}

.triage-modules-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

#triage-sim-console::-webkit-scrollbar {
    width: 6px;
}
#triage-sim-console::-webkit-scrollbar-track {
    background: #020617;
}
#triage-sim-console::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 3px;
}
#triage-sim-console::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* ==========================================================================
   
@keyframes blink {
    50% { opacity: 0; }
}
.terminal-cursor {
    animation: blink 1s step-end infinite;
}

/* ==========================================================================
   NETFLIX SHOWCASE STYLES
   ========================================================================== */
.netflix-slider::-webkit-scrollbar {
    display: none !important;
}
.netflix-slider {
    padding: 55px 50px 65px 50px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: auto !important;
    cursor: grab;
    transition: opacity 0.4s ease, filter 0.4s ease !important;
    perspective: 1500px;
    transform-style: preserve-3d;
}

.netflix-slider.fade-out {
    opacity: 0 !important;
    filter: blur(12px) brightness(0.15) !important;
    pointer-events: none !important;
}

.netflix-card {
    transition: opacity 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
    transform-origin: center center;
    backface-visibility: hidden;
}

.netflix-card:hover {
    z-index: 10 !important;
    border-color: rgba(34, 211, 238, 0.6) !important;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.35), 0 0 40px rgba(34, 211, 238, 0.15), 0 10px 25px rgba(0,0,0,0.5) !important;
    transition: transform 0.2s ease-out, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.netflix-card:hover .card-glow {
    opacity: 1 !important;
}

.netflix-card:hover .card-extra-info {
    height: auto !important;
    opacity: 1 !important;
    margin-top: 6px !important;
}

/* Active State */
.netflix-card.active-card-net {
    border-color: #22d3ee !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.3) !important;
}

#net-card-case.active-card-net {
    border-color: #22d3ee !important;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.3) !important;
}

@keyframes blink {
    50% { opacity: 0; }
}
.terminal-cursor {
    animation: blink 1s step-end infinite;
}


/* Hovers specifici per evitare il taglio (clipping) ai bordi dello schermo */
#net-card-hub:hover {
    transform: scale(1.32) translate(60px, 0) !important;
    border-color: rgba(34, 211, 238, 0.6) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(34, 211, 238, 0.35) !important;
    z-index: 15 !important;
}

#net-card-case:hover {
    transform: scale(1.32) translate(25px, 0) !important;
    border-color: rgba(192, 132, 252, 0.6) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(192, 132, 252, 0.35) !important;
    z-index: 15 !important;
}

#net-card-triage:hover {
    transform: scale(1.32) translate(0, 0) !important;
    border-color: rgba(34, 211, 238, 0.6) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(34, 211, 238, 0.35) !important;
    z-index: 15 !important;
}

#net-card-video:hover {
    transform: scale(1.32) translate(-25px, 0) !important;
    border-color: rgba(34, 197, 94, 0.6) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(34, 197, 94, 0.35) !important;
    z-index: 15 !important;
}

#net-card-aiden:hover {
    transform: scale(1.32) translate(-50px, 0) !important;
    border-color: rgba(34, 211, 238, 0.6) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(34, 211, 238, 0.35) !important;
    z-index: 15 !important;
}

#net-card-mobile:hover {
    transform: scale(1.32) translate(-75px, 0) !important;
    border-color: rgba(239, 68, 68, 0.85) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(239, 68, 68, 0.45) !important;
    z-index: 15 !important;
    opacity: 1 !important;
    filter: none !important;
}

#net-card-cryptosteg:hover {
    transform: scale(1.32) translate(-90px, 0) !important;
    border-color: rgba(56, 189, 248, 0.85) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(56, 189, 248, 0.5) !important;
    z-index: 15 !important;
    opacity: 1 !important;
    filter: none !important;
}

#net-card-mobile.active-card-net {
    border-color: #ef4444 !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4) !important;
}

#net-card-cryptosteg.active-card-net {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5) !important;
}

#net-card-blackbox:hover {
    transform: scale(1.32) translate(-95px, 0) !important;
    border-color: rgba(251, 191, 36, 0.9) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(251, 191, 36, 0.55) !important;
    z-index: 15 !important;
    opacity: 1 !important;
    filter: none !important;
}

#net-card-blackbox.active-card-net {
    border-color: #fbbf24 !important;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5) !important;
}

#net-card-ironclad:hover {
    transform: scale(1.32) translate(-95px, 0) !important;
    border-color: rgba(239, 68, 68, 0.95) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 30px rgba(239, 68, 68, 0.6) !important;
    z-index: 15 !important;
    opacity: 1 !important;
    filter: none !important;
}

#net-card-ironclad:hover .card-img-bg {
    transform: scale(1.08) !important;
}

#net-card-ironclad.active-card-net {
    border-color: #ef4444 !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5) !important;
}


/* ==========================================================================
   MOBILE RESPONSIVE STYLES (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Header & Navbar Navigation */
    .header-logo-m2labs {
        height: 48px !important;
    }
    
    .header-inner {
        padding: 12px 16px !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .nav-links {
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px 12px !important;
    }
    
    .nav-links a {
        font-size: 0.82rem !important;
        padding: 4px 6px !important;
    }
    
    .header-right-partner {
        margin-left: 0 !important;
        padding-left: 0 !important;
        border-left: none !important;
        margin-top: 4px !important;
    }

    /* 2. Split Hero (Stacked Brand Cards) */
    .split-hero-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        height: auto !important;
        min-height: 520px !important;
        gap: 12px !important;
    }
    
    .master-split-hero {
        height: auto !important;
        min-height: 520px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    .split-divider {
        width: 70% !important;
        height: 1px !important;
        margin: 12px auto !important;
        background: radial-gradient(circle, rgba(34, 211, 238, 0.4) 0%, rgba(34, 211, 238, 0) 100%) !important;
    }
    
    .brand-card {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 220px !important;
        padding: 20px 16px !important;
        transform: scale(1) !important;
        margin: 0 !important;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    
    .brand-card-inner {
        height: auto !important;
    }
    
    .brand-logo-img {
        height: 80px !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
        animation: none !important;
        transform: none !important;
        filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.7)) drop-shadow(0 0 28px rgba(34, 211, 238, 0.35)) !important;
    }

    .card-gov:not(.selected) .brand-logo-img {
        animation: none !important;
        transform: none !important;
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.5) !important;
        filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.65)) !important;
    }
    
    .brand-card-title {
        font-size: 1.15rem !important;
        margin-bottom: 8px !important;
        animation: none !important;
        transform: none !important;
        color: #ffffff !important;
        text-shadow: 0 0 14px rgba(56, 189, 248, 0.75), 0 0 24px rgba(34, 211, 238, 0.4) !important;
    }

    .brand-card-glow {
        animation: none !important;
        opacity: 0.4 !important;
        transform: translate(-50%, -50%) !important;
    }

    /* Staggering per le 3 categorie su mobile */
    .card-m2labs:not(.selected) .brand-logo-img,
    .card-m2labs:not(.selected) .brand-card-title,
    .card-m2labs:not(.selected) .brand-card-glow {
        animation-delay: 0s !important;
    }

    .card-forensichub:not(.selected) .brand-logo-img,
    .card-forensichub:not(.selected) .brand-card-title,
    .card-forensichub:not(.selected) .brand-card-glow {
        animation-delay: 0.8s !important;
    }

    .card-gov:not(.selected) .brand-logo-img,
    .card-gov:not(.selected) .brand-card-title,
    .card-gov:not(.selected) .brand-card-glow {
        animation-delay: 1.6s !important;
    }
    
    .brand-card-desc-wrap {
        max-height: 0 !important;
        opacity: 0 !important;
    }
    
    .brand-card:hover .brand-card-desc-wrap,
    .brand-card.active-card .brand-card-desc-wrap {
        max-height: 520px !important;
        opacity: 1 !important;
        margin-top: 16px !important;
    }

    /* Selected Brand Card State (Mobile) */
    .brand-card.selected {
        order: 1 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 260px !important;
        padding: 20px 16px !important;
    }
    
    .brand-card.selected .brand-logo-img {
        transform: none !important;
        height: 95px !important;
        max-width: 100% !important;
        margin-bottom: 18px !important;
        animation: none !important;
    }
    
    .brand-card.selected .brand-card-title {
        font-size: 1.25rem !important;
        margin-bottom: 10px !important;
        animation: none !important;
    }

    .brand-card.selected .brand-card-glow {
        animation: none !important;
        opacity: 1 !important;
    }

    /* Unselected (Secondary) Brand Card State (Mobile) */
    .brand-card.unselected {
        order: 2 !important;
        flex: 1 1 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        height: auto !important;
        min-height: 80px !important;
        padding: 10px 8px !important;
        margin: 0 !important;
        background: rgba(15, 23, 42, 0.65) !important;
        border: 1px solid rgba(34, 211, 238, 0.25) !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        opacity: 0.85 !important;
        animation: none !important;
        box-shadow: 0 0 12px rgba(34, 211, 238, 0.35) !important;
        border-color: rgba(34, 211, 238, 0.5) !important;
        transform: none !important;
        transition: all 0.3s ease !important;
    }
    
    .card-m2labs.unselected { animation-delay: 0s !important; }
    .card-forensichub.unselected { animation-delay: 0.8s !important; }
    .card-gov.unselected { animation-delay: 1.6s !important; }
    
    .brand-card.unselected:hover,
    .brand-card.unselected:active {
        background: rgba(34, 211, 238, 0.12) !important;
        border-color: rgba(34, 211, 238, 0.5) !important;
        opacity: 1 !important;
    }
    
    .card-m2labs.unselected,
    .card-forensichub.unselected,
    .card-gov.unselected {
        margin: 0 !important;
        transform: none !important;
    }
    
    .brand-card.unselected .brand-card-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
        height: 100% !important;
        text-align: center !important;
    }
    
    .brand-card.unselected .brand-logo-img {
        height: 22px !important;
        max-width: 90% !important;
        width: auto !important;
        margin-bottom: 0 !important;
        box-shadow: none !important;
        border-radius: 4px !important;
        animation: none !important;
        object-fit: contain !important;
    }
    
    .brand-card.unselected .brand-card-title {
        font-size: 0.70rem !important;
        font-weight: 700 !important;
        color: #e2e8f0 !important;
        display: block !important;
        margin: 0 auto !important;
        max-width: 90px !important;
        max-height: none !important;
        opacity: 1 !important;
        white-space: normal !important;
        overflow: visible !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    .brand-card.unselected .brand-card-desc-wrap {
        display: none !important;
    }

    /* 3. Pricing Section Adaptation */
    .pricing-segmented-control button {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }
    
    .price-card-premium {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        margin-bottom: 16px !important;
    }
    
    /* 4. General Section and Font Adjustments */
    section {
        padding: 40px 16px !important;
    }
    
    .glow-title-cyan,
    .glow-title-purple,
    .glow-title-gradient {
        font-size: 1.8rem !important;
    }
    
    .section-desc {
        font-size: 0.9rem !important;
        padding: 0 8px !important;
    }
    
    /* About Us Stats */
    .about-stat-item {
        margin-bottom: 24px !important;
    }

    /* TriagePro Mobile Adjustments */
    .triage-main-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .triage-bottom-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .rent-main-container {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .triage-tools-grid {
        grid-template-columns: 1fr !important;
    }

    .triage-modules-table {
        min-width: 500px !important;
    }

    #vf-timeline-card {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    #vf-timeline-card > div {
        min-width: 0 !important;
    }
    
    #vf-timeline-card > div:first-child {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-right: 0 !important;
        padding-bottom: 20px !important;
        margin-bottom: 10px !important;
    }
    
    .vf-decoder-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .vf-decoder-layout > div {
        min-width: 0 !important;
    }

    /* VF Simulator: prevent text overflow on mobile */
    #vf-verdict-box {
        overflow: hidden !important;
    }
    
    #vf-verdict-text {
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }
    
    #vf-meta-list {
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    #vf-meta-list > div {
        flex-wrap: wrap !important;
        word-break: break-word !important;
    }

    .vf-select-wrapper,
    .cyber-select-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 6px !important;
    }
    
    .cyber-select-pulse,
    #vf-decoder-select {
        width: 100% !important;
        font-size: 0.90rem !important;
        padding: 12px 38px 12px 14px !important;
        animation: cyber-dropdown-pulse 1.8s ease-in-out infinite !important;
        border-width: 2px !important;
    }

    /* Netflix Showcase Mobile adjustments */
    .netflix-card {
        flex: 0 0 270px !important;
        min-width: 270px !important;
        height: 180px !important;
    }
    .netflix-slider {
        padding-bottom: 15px !important;
    }
    .slider-arrow {
        width: 38px !important;
        height: 38px !important;
    }
    .slider-arrow.arrow-left {
        left: -10px !important;
    }
    .slider-arrow.arrow-right {
        right: -10px !important;
    }
}

/* Slider Navigation Arrows */
.netflix-slider-wrapper {
    position: relative;
    width: 100%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateY(-12px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
    cursor: pointer;
    z-index: 25 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.slider-arrow:hover {
    background: rgba(34, 211, 238, 0.25) !important;
    border-color: #22d3ee !important;
    color: #22d3ee !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.5);
    transform: translateY(-50%) translateY(-12px) scale(1.1);
}

.slider-arrow:active {
    transform: translateY(-50%) translateY(-12px) scale(0.95);
}

.slider-arrow.arrow-left {
    left: -22px;
}

.slider-arrow.arrow-right {
    right: -22px;
}

.slider-arrow.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateY(-12px) scale(0.8);
}

.netflix-card.coming-soon-card:hover {
    border-color: rgba(239, 68, 68, 0.6) !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.35), 0 0 40px rgba(239, 68, 68, 0.15), 0 10px 25px rgba(0,0,0,0.5) !important;
}

.netflix-scroll-track {
    position: relative;
    width: 80%;
    max-width: 400px;
    height: 6px;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 3px;
    margin: 24px auto 0 !important;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease, opacity 0.3s ease;
}
.netflix-scroll-track:hover {
    background: rgba(255, 255, 255, 0.18) !important;
}
.netflix-scroll-thumb {
    position: absolute;
    top: -3px !important;
    left: 0;
    width: 80px;
    height: 12px !important;
    background: linear-gradient(90deg, #22d3ee, #06b6d4) !important;
    border-radius: 6px !important;
    cursor: grab;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.5) !important;
}
.netflix-scroll-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.8) !important;
}
.netflix-scroll-thumb:active {
    transform: scale(1.05);
    cursor: grabbing;
}

/* Triage GUI Cards Styles */
.triage-gui-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.triage-gui-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-color: rgba(34, 211, 238, 0.5) !important;
}

/* Bundle Builder Selection Card Styles */
.bundle-sw-card {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.bundle-sw-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-color: rgba(34, 211, 238, 0.5) !important;
}
.bundle-sw-card.active-bundle-sw {
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.1) !important;
}

/* ─── SCROLL REVEAL ANIMATIONS ─────────────────────────────────────────── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}
.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}
.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}
.scroll-reveal[data-delay="1"] { transition-delay: 0.1s; }
.scroll-reveal[data-delay="2"] { transition-delay: 0.2s; }
.scroll-reveal[data-delay="3"] { transition-delay: 0.3s; }
.scroll-reveal[data-delay="4"] { transition-delay: 0.4s; }

/* ─── ANIMATED COUNTER ─────────────────────────────────────────────────── */
.counter-animated {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* ─── BUNDLE BEST DEAL BADGE ───────────────────────────────────────────── */
@keyframes bestDealPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(74, 222, 128, 0.4); }
    50% { box-shadow: 0 0 24px rgba(74, 222, 128, 0.7); }
}
.best-deal-badge {
    display: none;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    text-align: center;
    margin-top: 12px;
    animation: bestDealPulse 2s ease-in-out infinite;
    letter-spacing: 0.03em;
}
.best-deal-badge.visible {
    display: block;
}

/* ─── SAVINGS PROGRESS BAR ─────────────────────────────────────────────── */
.savings-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}
.savings-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #22d3ee, #4ade80);
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0%;
}

/* ─── GDPR COOKIE CONSENT BANNER ───────────────────────────────────────── */
.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 480px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: 16px;
    padding: 20px;
    z-index: 9999;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transform: translateY(150px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: none;
}
.cookie-consent-banner.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}
.cookie-consent-title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cookie-consent-text {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 16px;
}
.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.cookie-btn {
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.cookie-btn-accept {
    background: #22d3ee;
    color: #0f172a;
    border: none;
}
.cookie-btn-accept:hover {
    background: #06b6d4;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.4);
}
.cookie-btn-decline {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

@media (max-width: 640px) {
    .cookie-consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}

/* ─── INTERACTIVE COMPARISON TABLE ─────────────────────────────────────── */
.comp-filter-btn {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(15, 23, 42, 0.5) !important;
    color: #94a3b8 !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.comp-filter-btn:hover {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.02) !important;
}
.comp-filter-btn.active-filter-all {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}
.comp-filter-btn.active-filter-free {
    background: rgba(148, 163, 184, 0.1) !important;
    border-color: rgba(148, 163, 184, 0.4) !important;
    color: #cbd5e1 !important;
}
.comp-filter-btn.active-filter-pro {
    background: rgba(56, 189, 248, 0.1) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    color: #38bdf8 !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.15) !important;
}
.comp-filter-btn.active-filter-suite {
    background: rgba(34, 211, 238, 0.1) !important;
    border-color: rgba(34, 211, 238, 0.4) !important;
    color: #22d3ee !important;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.2) !important;
}

/* Dimming effect for non-highlighted columns */
.comparison-dimmed {
    opacity: 0.25 !important;
    filter: blur(0.5px) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.comparison-highlight {
    background: rgba(34, 211, 238, 0.08) !important;
    box-shadow: inset 0 0 8px rgba(34, 211, 238, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.comparison-highlight-pro {
    background: rgba(56, 189, 248, 0.05) !important;
    box-shadow: inset 0 0 8px rgba(56, 189, 248, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.comparison-highlight-free {
    background: rgba(255, 255, 255, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
td, th {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.comparison-dimmed {
    opacity: 0.25 !important;
    filter: blur(0.5px) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.comparison-highlight {
    background: rgba(34, 211, 238, 0.08) !important;
    box-shadow: inset 0 0 8px rgba(34, 211, 238, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.comparison-highlight-pro {
    background: rgba(56, 189, 248, 0.05) !important;
    box-shadow: inset 0 0 8px rgba(56, 189, 248, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.comparison-highlight-free {
    background: rgba(255, 255, 255, 0.02) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
td, th {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pricing-highlight-pulse {
    animation: cardPulseGlow 1.5s ease-out 3;
}
@keyframes cardPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7);
        border-color: #22d3ee;
    }
    70% {
        box-shadow: 0 0 0 15px rgba(34, 211, 238, 0);
        border-color: #22d3ee;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
    }
}

.wizard-need-btn.active, .wizard-software-btn.active {
    background: rgba(34, 211, 238, 0.25) !important;
    border-color: #22d3ee !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.4) !important;
}

/* Dynamic Wizard Proposals */
.proposal-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.proposal-card:hover {
    border-color: #22d3ee !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.25) !important;
    transform: translateY(-2px);
    background: rgba(15, 23, 42, 0.8) !important;
}

.wizard-software-btn {
    transition: all 0.25s ease-in-out;
}
.wizard-software-btn:hover {
    border-color: rgba(34, 211, 238, 0.5) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}




/* ==========================================
   CSS FOR 3 INTERACTIVE COMPONENTS
   ========================================== */

.ctp-est-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}
.ctp-est-btn:hover {
    background: rgba(34, 211, 238, 0.05);
    border-color: rgba(34, 211, 238, 0.2);
}
.ctp-est-btn.active {
    background: rgba(34, 211, 238, 0.15) !important;
    border-color: rgba(34, 211, 238, 0.4) !important;
    color: #22d3ee !important;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.15);
}

.net-sim-toggle {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}
.net-sim-toggle#net-toggle-active.active {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
}
.net-sim-toggle#net-toggle-inactive.active {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
}

@media (max-width: 768px) {
    .ctp-estimator-layout, .net-sim-layout {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   COMPONENT: ANDROID FORENSIC PREVIEW SIMULATOR STYLES
   ========================================================================== */

.mobile-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-bottom: 30px;
    align-items: start;
}

.mobile-sim-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    margin-top: 25px;
}

@media (max-width: 992px) {
    .mobile-main-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .mobile-main-grid > div {
        min-width: 0 !important;
    }
    
    .mobile-sim-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .mobile-sim-layout > div {
        min-width: 0 !important;
    }
}

/* Smartphone Mockup */
.phone-mockup {
    width: 250px;
    height: 480px;
    background: #020617;
    border: 10px solid #1e293b;
    border-radius: 36px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(34, 211, 238, 0.15);
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Notch / Camera Speaker */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 20px;
    background: #1e293b;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    background: #090d16;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-status-bar {
    height: 22px;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: monospace;
    z-index: 5;
    margin-top: 4px;
}

.phone-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    position: relative;
}

/* Camera Shutter Flash Animation */
.phone-camera-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    opacity: 0;
    z-index: 100;
    pointer-events: none;
}

.phone-camera-flash.flash-active {
    animation: cameraShutterFlash 0.35s ease-out;
}

@keyframes cameraShutterFlash {
    0% { opacity: 0; }
    20% { opacity: 1; }
    100% { opacity: 0; }
}

/* Recording Pulse Dot */
.rec-pulse-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    box-shadow: 0 0 8px #ef4444;
    animation: recBlink 1s infinite alternate;
}

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

/* Floating Thumbnail Popup */
.screenshot-thumb-popup {
    position: absolute;
    bottom: 20px;
    right: 15px;
    width: 65px;
    height: 110px;
    border: 2px solid #22d3ee;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 10px rgba(34, 211, 238, 0.4);
    z-index: 90;
    transform: translateY(20px) scale(0.8);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.screenshot-thumb-popup.show-thumb {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Console Log View Screen */
.console-log-screen {
    background: #020617 !important;
    border: 1px solid rgba(34, 211, 238, 0.15) !important;
    border-radius: 8px;
    padding: 12px;
    font-family: monospace;
    font-size: 0.72rem !important;
    line-height: 1.45;
    color: #e2e8f0;
    height: 135px;
    overflow-y: auto;
    box-sizing: border-box;
}

.console-log-screen p {
    margin: 0 0 6px 0;
}

.console-log-screen .log-sys { color: #94a3b8; }
.console-log-screen .log-adb { color: #38bdf8; }
.console-log-screen .log-success { color: #4ade80; }
.console-log-screen .log-warning { color: #facc15; }
.console-log-screen .log-error { color: #f87171; }

/* Custom Scrollbar for console screen */
.console-log-screen::-webkit-scrollbar {
    width: 6px;
}
.console-log-screen::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}
.console-log-screen::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.25);
    border-radius: 4px;
}
.console-log-screen::-webkit-scrollbar-thumb:hover {
    background: rgba(34, 211, 238, 0.45);
}

/* Interactive Device Screen Content styling */
.device-screen-disconnected {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #475569;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.device-screen-connected {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.chat-app-header {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #ffffff;
}

.chat-app-messages {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.chat-bubble {
    max-width: 80%;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.68rem;
    line-height: 1.35;
    position: relative;
    word-break: break-word;
}

.chat-bubble.in {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-bubble.out {
    background: rgba(6, 182, 212, 0.25);
    color: #e2e8f0;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    border: 1px solid rgba(34, 211, 238, 0.2);
}

/* =====================================================================
   PROPOSTE GRAFICHE AVANZATE (OPZIONI 2, 3, 4, 5)
   ===================================================================== */

/* 2. SMARTPHONE 3D & SCANNING LASER */
.phone-mockup {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}
.phone-mockup:hover {
    transform: translateY(-8px) rotateX(6deg) rotateY(-4deg);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.85), 0 0 45px rgba(34, 211, 238, 0.3) !important;
}

.phone-glass-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.01) 50%, transparent 50.1%);
    pointer-events: none;
    z-index: 15;
}

.phone-laser-scanner {
    position: absolute;
    left: 0;
    top: -4px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #22d3ee, transparent);
    box-shadow: 0 0 12px #22d3ee, 0 0 25px rgba(34, 211, 238, 0.8);
    z-index: 20;
    opacity: 0;
    pointer-events: none;
}

.phone-laser-scanner.laser-active {
    opacity: 1;
    animation: phoneLaserScan 3s infinite ease-in-out;
}

@keyframes phoneLaserScan {
    0%, 100% { top: 0%; opacity: 0.7; }
    50% { top: 100%; opacity: 1; }
}

/* 3. PACCHETTI PERSONALIZZATI A "SERVER BLADE" */
.bundle-sw-card {
    position: relative;
    overflow: hidden;
    border-left: 4px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bundle-sw-card.active-bundle-sw {
    border-left: 4px solid #22d3ee !important;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

.bundle-sw-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.05), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.bundle-sw-card.active-bundle-sw::after {
    animation: serverBladeLed 2.5s infinite linear;
}

@keyframes serverBladeLed {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 4. EVIDENZIAZIONE PREMIUM "PRO SUITE" (GOLD METALLIC SHEEN) */
.suite-card-p {
    position: relative;
    overflow: hidden;
    border: 2px solid #fbbf24 !important;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.2) !important;
}

.suite-card-p::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(251, 191, 36, 0.03) 45%,
        rgba(251, 191, 36, 0.15) 50%,
        rgba(251, 191, 36, 0.03) 55%,
        transparent
    );
    transform: rotate(45deg);
    animation: metallicSheen 6s infinite linear;
    pointer-events: none;
    z-index: 1;
}

@keyframes metallicSheen {
    0% { left: -100%; top: -100%; }
    100% { left: 100%; top: 100%; }
}

/* 5. LASER DDOS & FIREWALL MITIGATION WAVE */
#net-pulse-att-fw[stroke="#ef4444"],
#net-pulse-fw-srv[stroke="#ef4444"],
#net-pulse-fw-db[stroke="#ef4444"],
#net-pulse-fw-cli[stroke="#ef4444"] {
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.85));
}

#net-pulse-att-fw[stroke="#10b981"] {
    filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.85));
}

@keyframes mitigationWave {
    0% { r: 25; opacity: 1; stroke-width: 3; }
    100% { r: 65; opacity: 0; stroke-width: 0.8; }
}

.mitigation-wave-active {
    animation: mitigationWave 0.8s ease-out infinite;
}

/* 6. GLOWING GOLD BADGES */
.glow-gold-pill {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12) !important;
    border: 1px solid rgba(251, 191, 36, 0.45) !important;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3) !important;
    text-shadow: 0 0 6px rgba(251, 191, 36, 0.5) !important;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    animation: goldPulse 2s infinite alternate;
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 6px rgba(251, 191, 36, 0.2);
        border-color: rgba(251, 191, 36, 0.35);
    }
    100% {
        box-shadow: 0 0 14px rgba(251, 191, 36, 0.5);
        border-color: rgba(251, 191, 36, 0.75);
    }
}

/* Pain Cards (Red themed problems) */
.pain-card {
    background: rgba(239, 68, 68, 0.015) !important;
    border: 1px solid rgba(239, 68, 68, 0.15) !important;
    border-radius: 12px;
    padding: 28px 24px;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.6), rgba(239, 68, 68, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.pain-card:hover {
    border-color: rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.08), 0 0 15px rgba(239, 68, 68, 0.2);
    transform: translateY(-4px);
    background: rgba(239, 68, 68, 0.03) !important;
}

.pain-card:hover::before {
    opacity: 1;
}

.pain-card-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: #f87171;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}





/* ─── GLASSMORPHIC GRID TABS (OPZIONE 2) ─── */
.pricing-grid-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1050px;
    margin: 0 auto 40px auto;
    padding: 0 24px;
}

.pricing-tab-card {
    background: rgba(15, 23, 42, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    padding: 16px 12px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
    color: #94a3b8 !important;
    backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.03) !important;
    outline: none !important;
}

.pricing-tab-card .tab-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-tab-card .tab-card-icon-wrap svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.pricing-tab-card .tab-card-title {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    font-family: var(--font-title), sans-serif;
    letter-spacing: 0.02em;
    color: #cbd5e1;
    transition: all 0.3s;
}

.pricing-tab-card .tab-card-desc {
    font-size: 0.7rem !important;
    color: #64748b !important;
    line-height: 1.3;
    font-weight: 500;
    transition: all 0.3s;
}

/* Hover State */
.pricing-tab-card:hover {
    transform: translateY(-3px) scale(1.02) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(15, 23, 42, 0.6) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.06) !important;
}

.pricing-tab-card:hover .tab-card-icon-wrap {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-tab-card:hover .tab-card-title {
    color: #fff;
}

/* Active State */
.pricing-tab-card.active {
    background: rgba(30, 41, 59, 0.7) !important;
    border-color: rgba(56, 189, 248, 0.4) !important; /* Cyber Blue active border */
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15), inset 0 1px 1px rgba(56, 189, 248, 0.2) !important;
    position: relative;
}

/* Active bottom line indicator */
.pricing-tab-card.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 10px #38bdf8;
}

.pricing-tab-card.active .tab-card-icon-wrap {
    background: rgba(56, 189, 248, 0.1) !important;
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.1);
}

.pricing-tab-card.active .tab-card-title {
    color: #fff !important;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.pricing-tab-card.active .tab-card-desc {
    color: #94a3b8 !important;
}

/* Responsiveness */
@media (max-width: 992px) {
    .pricing-grid-tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}
@media (max-width: 600px) {
    .pricing-grid-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}


/* ===== DYNAMIC SHIELD/COMPLIANCE CARD GLOW BOXES ===== */
.icon-glow-box.purple-glow {
    background: radial-gradient(circle, rgba(167, 139, 250, 0.18) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(167, 139, 250, 0.35);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.2);
}
.icon-glow-box.purple-glow:hover {
    box-shadow: 0 8px 25px rgba(167, 139, 250, 0.45);
}

.icon-glow-box.emerald-glow {
    background: radial-gradient(circle, rgba(52, 211, 153, 0.18) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(52, 211, 153, 0.35);
    box-shadow: 0 4px 20px rgba(52, 211, 153, 0.2);
}
.icon-glow-box.emerald-glow:hover {
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.45);
}

.icon-glow-box.amber-glow {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.2);
}
.icon-glow-box.amber-glow:hover {
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.45);
}

/* ==========================================================================
   MOBILE RESPONSIVE ADAPTATION — PHASE 1-6
   Tutte le regole sono racchiuse in media queries e NON impattano il desktop.
   ========================================================================== */

/* ==========================================================================
   BREAKPOINT 1024px — Tablet Landscape / Schermi Medi
   ========================================================================== */
@media (max-width: 1024px) {
    .responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Header link adjustment per evitare sovrapposizioni */
    .nav-links {
        gap: 14px !important;
    }
    .nav-links a {
        font-size: 0.82rem !important;
    }
    .header-inner {
        padding: 16px 20px !important;
    }
    .header-right-forensichub {
        gap: 6px !important;
    }
    
    /* Riduzione padding sezioni per risparmiare spazio */
    section[style*="padding: 80px"], 
    section[style*="padding: 60px"],
    .page-section {
        padding: 50px 20px !important;
    }

    /* Ottimizzazione griglia pricing */
    .pricing-view-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 16px !important;
    }
    
    /* Regolazione altezza Split Hero in orizzontale */
    .split-hero-container {
        height: auto !important;
        min-height: 450px !important;
    }
}

/* --- Hamburger Button (nascosto su desktop) --- */
.mobile-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1101;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animazione X quando aperto */
.mobile-hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.mobile-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* --- Overlay scuro dietro il menu mobile --- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1099;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}


/* ==========================================================================
   BREAKPOINT 768px — Tablet / Smartphone
   ========================================================================== */
@media (max-width: 768px) {

    /* Glass panel padding reduction on mobile */
    .glass-panel {
        padding: 16px !important;
        overflow-x: hidden !important;
    }

    /* --- FASE 1: Hamburger Menu Mobile --- */
    .mobile-hamburger {
        display: flex !important;
        order: 3;
    }

    .mobile-nav-overlay {
        display: block !important;
    }

    .header-inner {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 16px !important;
        gap: 0 !important;
    }

    .logo-container {
        order: 1;
        flex-shrink: 0;
    }

    .header-right-forensichub {
        order: 2;
        display: none !important;
    }

    /* Nav Links → Drawer laterale */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -300px !important;
        width: 280px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: rgba(2, 6, 23, 0.97) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-left: 1px solid rgba(34, 211, 238, 0.2) !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        padding: 80px 24px 24px !important;
        gap: 4px !important;
        z-index: 1100 !important;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important, visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow-y: auto !important;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5) !important;
        visibility: hidden !important;
    }

    .nav-links.mobile-open {
        right: 0 !important;
        visibility: visible !important;
    }

    .nav-links a {
        font-size: 1rem !important;
        padding: 14px 16px !important;
        border-radius: 8px !important;
        color: #cbd5e1 !important;
        transition: all 0.2s ease !important;
        display: block !important;
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
    }

    .nav-links a:hover,
    .nav-links a:active {
        background: rgba(34, 211, 238, 0.08) !important;
        color: #22d3ee !important;
    }

    .nav-links a.active,
    .nav-links a.active-menu-item {
        background: rgba(34, 211, 238, 0.12) !important;
        color: #22d3ee !important;
    }

    /* Carrello e Language dentro il drawer */
    .nav-links .cart-nav-btn {
        margin-top: 12px;
        padding: 14px 16px !important;
        justify-content: flex-start !important;
        min-height: 48px !important;
    }

    .nav-links .lang-switcher {
        margin-top: 8px;
        padding: 8px 16px;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    /* Header Partner badge nascosto su mobile */
    .header-right-partner {
        display: none !important;
    }


    /* --- FASE 3: Fix Larghezze Fisse --- */

    /* Sezioni principali: padding ridotto */
    .page-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    section[style*="padding: 80px"],
    section[style*="padding: 60px"] {
        padding: 40px 16px !important;
    }

    /* Pricing cards: evitare overflow */
    .price-card-premium {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .pricing-view-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Bottoni premium: max-width elastico */
    .btn-card-premium {
        max-width: 100% !important;
        white-space: normal !important;
    }

    /* Tabelle confronto su mobile: prima colonna fissa (sticky) e scroll orizzontale */
    .table-responsive,
    #comparisonTableWrapper.table-responsive {
        position: relative !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 14px !important;
    }

    #comparisonTableWrapper table,
    .comp-matrix-table,
    .table-responsive table {
        min-width: 620px !important;
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }

    /* Prima colonna fissa (Sticky Column) */
    #comparisonTableWrapper table th:first-child,
    #comparisonTableWrapper table td:first-child,
    .comp-matrix-table th:first-child,
    .comp-matrix-table td:first-child,
    .table-responsive table th:first-child,
    .table-responsive table td:first-child {
        position: sticky !important;
        left: 0 !important;
        z-index: 10 !important;
        background: #0b1324 !important;
        min-width: 135px !important;
        max-width: 160px !important;
        width: 145px !important;
        box-shadow: 4px 0 14px rgba(0, 0, 0, 0.75) !important;
        border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
        word-break: break-word !important;
        white-space: normal !important;
        padding: 14px 10px !important;
        font-size: 0.8rem !important;
    }

    #comparisonTableWrapper table thead th:first-child,
    .comp-matrix-table thead th:first-child,
    .table-responsive table thead th:first-child {
        position: sticky !important;
        left: 0 !important;
        z-index: 12 !important;
        background: #0f172a !important;
    }

    /* Colonne successive */
    #comparisonTableWrapper table th:not(:first-child),
    #comparisonTableWrapper table td:not(:first-child),
    .comp-matrix-table th:not(:first-child),
    .comp-matrix-table td:not(:first-child),
    .table-responsive table th:not(:first-child),
    .table-responsive table td:not(:first-child) {
        min-width: 130px !important;
        max-width: 175px !important;
        padding: 14px 10px !important;
        font-size: 0.78rem !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    /* Rimuovere overlay scorri testuale */
    .table-responsive::after {
        display: none !important;
    }

    /* Rent main container: 1 colonna */
    .rent-main-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }


    /* --- FASE 5: Modali Mobile-Safe --- */

    /* Cart Drawer full-width su mobile */
    .cart-drawer {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Modali: altezze adattive */
    .modal-content,
    [style*="max-height: 380px"],
    [style*="height: 380px"] {
        max-height: 70vh !important;
    }

    /* Overlay modali: safe-area */
    .checkout-modal-overlay,
    .corporate-quote-modal-overlay,
    #ecosystemModalOverlay,
    #servicePopup {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }


    /* --- FASE 6: Typography & Spacing --- */

    /* Ridurre padding sezioni principali */
    .hero-section,
    .master-split-hero {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Pricing grid tabs compatti */
    .pricing-grid-tabs {
        gap: 6px !important;
    }

    .pricing-grid-tabs .segment-btn {
        padding: 10px 8px !important;
        font-size: 0.72rem !important;
    }

    /* FAQ items più touch-friendly */
    .faq-question {
        min-height: 52px !important;
        padding: 14px 16px !important;
    }
}


/* ==========================================================================
   BREAKPOINT 480px — Smartphone Compatti
   ========================================================================== */
@media (max-width: 480px) {

    /* --- FASE 3: Override Netflix Cards inline widths --- */
    .netflix-card {
        flex: 0 0 240px !important;
        min-width: 240px !important;
        height: 160px !important;
    }

    .netflix-slider {
        padding: 30px 12px 40px !important;
    }

    /* Pipeline / Timeline simulatori */
    [style*="min-width: 650px"] {
        min-width: min(650px, 100%) !important;
    }

    /* Header logo più piccolo */
    .header-logo-m2labs {
        height: 36px !important;
    }

    /* Sezioni: padding ancora più compatto */
    .page-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Bottoni full-width */
    .btn-card-premium {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Glow orb: contenere overflow */
    .glow-orb {
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    /* Card heading font-size più compatto */
    .card-heading h3 {
        font-size: 1.1rem !important;
    }

    /* Pricing card price block */
    .card-price-num {
        font-size: 1.8rem !important;
    }

    /* B2B Calculator / Rent: stacked layout */
    .b2b-calc-main-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   BREAKPOINT 360px — Smartphone Ultra-Compatti
   ========================================================================== */
@media (max-width: 360px) {

    .netflix-card {
        flex: 0 0 210px !important;
        min-width: 210px !important;
        height: 140px !important;
    }

    .header-logo-m2labs {
        height: 32px !important;
    }

    .nav-links {
        width: 260px !important;
    }

    .pricing-grid-tabs {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================================
   FASE 4: HOVER FALLBACKS per dispositivi Touch
   @media (hover: none) si attiva SOLO su dispositivi senza mouse hover
   ========================================================================== */
@media (hover: none) {

    /* Netflix card: glow sempre leggermente visibile su touch */
    .netflix-card .card-glow {
        opacity: 0.3 !important;
    }

    /* Disabilitare scale hover su touch (tap funziona già con onclick) */
    .netflix-card:hover {
        transform: none !important;
    }

    /* Brand cards split hero: rimuovere floating effect */
    .brand-card:hover {
        transform: none !important;
    }

    /* Pricing card: rimuovere scale hover */
    .price-card-premium:hover {
        transform: none !important;
    }

    /* Bottoni: active state più visibile al posto di hover */
    .btn-card-premium:active {
        transform: scale(0.97) !important;
        opacity: 0.9 !important;
    }

    /* Anti-stick hover: rimuovere sticky hover states */
    .nav-links a:hover {
        text-shadow: none !important;
    }

    /* Scroll indicator per tabelle */
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}

/* --- NATURAL LEFT TEXT ALIGNMENT (NO JUSTIFY / NO GAPS) --- */
p[data-key="split-software-desc"],
p[data-key="triagepro-desc1"],
p[data-key="triagepro-desc2"],
p[data-key="video-desc1"],
p[data-key="video-desc2"],
p[data-key="mob-desc1"],
p[data-key="mob-desc2"],
.pain-card p {
    text-align: left !important;
    word-spacing: normal !important;
    letter-spacing: normal !important;
}

/* Centratura elementi footer su mobile/tablet */
@media (max-width: 768px) {
    .footer-cyber-col {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .footer-cyber-logo {
        justify-content: center !important;
        width: 100% !important;
    }
    .footer-cyber-col ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* ==========================================================================
   SECURE CLIENT VAULT (AREA RISERVATA) STYLES
   ========================================================================== */

.btn-vault-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(14, 165, 233, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    color: #e0f2fe;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    margin-left: 6px;
}

.btn-vault-nav i {
    color: #38bdf8;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.btn-vault-nav:hover {
    background: rgba(14, 165, 233, 0.25);
    border-color: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-vault-nav:hover i {
    transform: scale(1.15);
}

/* Vault Modal Styles */
.vault-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.vault-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.vault-modal-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(8, 14, 28, 0.98));
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.2), 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 480px;
    position: relative;
    padding: 36px 30px;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
    text-align: center;
}

.vault-modal-overlay.active .vault-modal-card {
    transform: scale(1) translateY(0);
}

.vault-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.vault-modal-close:hover {
    color: #38bdf8;
    transform: rotate(90deg);
}

.vault-icon-glow {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px auto;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.vault-icon-glow i {
    font-size: 26px;
    color: #38bdf8;
}

.vault-modal-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 8px 0;
    letter-spacing: 0.02em;
}

.vault-modal-subtitle {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin: 0 0 24px 0;
    line-height: 1.45;
}

.vault-input-group {
    text-align: left;
    margin-bottom: 20px;
}

.vault-input-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #38bdf8;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.vault-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.vault-field-icon {
    position: absolute;
    left: 14px;
    color: #64748b;
    font-size: 14px;
    pointer-events: none;
}

.vault-input-field {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    color: #f1f5f9;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.vault-input-field:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.vault-input-field::placeholder {
    color: #475569;
    font-weight: 400;
}

.vault-download-btn {
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    border: 1px solid #38bdf8;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
}

.vault-download-btn:hover {
    background: linear-gradient(135deg, #0369a1, #0284c7);
    box-shadow: 0 0 26px rgba(56, 189, 248, 0.6);
    transform: translateY(-1px);
}

.vault-feedback-msg {
    margin-top: 15px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
}

.vault-feedback-msg.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.vault-feedback-msg.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.vault-security-note {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    color: #64748b;
    font-size: 0.74rem;
    line-height: 1.45;
}

.vault-security-note i {
    color: #38bdf8;
    margin-top: 2px;
    font-size: 13px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .btn-vault-nav {
        margin: 10px 0 0 0;
        width: 100%;
        justify-content: center;
        padding: 9px 16px;
    }
}




/* Elegant Balanced Desktop Navbar */
.header-inner {
    padding: 10px 24px !important;
    max-width: 100% !important;
}

.header-logo-m2labs {
    height: 66px !important;
    width: auto;
}

.nav-links {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: nowrap !important;
}

.nav-links a {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.015em !important;
    padding: 5px 3px !important;
    white-space: nowrap !important;
}

.cart-nav-btn {
    padding: 5px 10px !important;
    font-size: 0.78rem !important;
    gap: 6px !important;
    white-space: nowrap !important;
}

.lang-switcher {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.lang-btn svg {
    width: 20px !important;
    height: 14px !important;
    border-radius: 2px;
}

.btn-vault-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 5px 10px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    margin-left: 6px !important;
    white-space: nowrap !important;
}

.header-right-forensichub {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 8px !important;
    flex-shrink: 0 !important;
}

.logo-emblem-small {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0 !important;
}

.logo-title-small {
    font-size: 0.80rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

.logo-subtitle-small {
    font-size: 0.54rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

/* Scaling on smaller laptops (under 1300px) */
@media (max-width: 1300px) {
    .header-inner {
        padding: 8px 14px !important;
    }
    .nav-links {
        gap: 9px !important;
    }
    .nav-links a {
        font-size: 0.80rem !important;
        padding: 4px 1px !important;
    }
    .header-logo-m2labs {
        height: 56px !important;
    }
}



/* =======================================================================
   CENTRAL SIMULATOR PLAY OVERLAY (CLASSIC GLOWING PLAY ARROW)
   ======================================================================= */
.sim-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.12);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 25;
    cursor: pointer;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
    border-radius: inherit;
}

.sim-play-overlay.hidden-overlay {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.sim-play-btn-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25) 0%, rgba(2, 132, 199, 0.5) 100%);
    border: 2px solid rgba(34, 211, 238, 0.85);
    box-shadow: 0 0 35px rgba(34, 211, 238, 0.45), inset 0 0 20px rgba(34, 211, 238, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 1.6rem;
    padding-left: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.sim-play-btn-circle:hover {
    transform: scale(1.12);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.4) 0%, rgba(2, 132, 199, 0.75) 100%);
    border-color: #67e8f9;
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.8), inset 0 0 30px rgba(34, 211, 238, 0.45);
    color: #ffffff;
}

.sim-play-pulse-ring {
    position: absolute;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    border: 1.5px solid rgba(34, 211, 238, 0.6);
    animation: simPulseRing 2.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
}

@keyframes simPulseRing {
    0% { transform: scale(0.92); opacity: 0.9; }
    50% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}


/* Mobile Responsive Tuning for Simulator Play Overlay */
@media (max-width: 768px) {
    .sim-play-btn-circle {
        width: 58px;
        height: 58px;
        font-size: 1.35rem;
        padding-left: 3px;
    }
    .sim-play-pulse-ring {
        width: 72px;
        height: 72px;
    }
    .sim-play-overlay {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .sim-play-btn-circle {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        padding-left: 3px;
    }
    .sim-play-pulse-ring {
        width: 64px;
        height: 64px;
    }
}


/* Suggest Inactive / Active Pulse Call To Action */
@keyframes suggestPulse {
    0%, 100% {
        background: rgba(239, 68, 68, 0.15) !important;
        border-color: rgba(239, 68, 68, 0.4) !important;
        color: #f87171 !important;
        box-shadow: 0 0 0 rgba(239, 68, 68, 0);
        transform: scale(1);
    }
    50% {
        background: rgba(239, 68, 68, 0.95) !important;
        border-color: #ff4444 !important;
        color: #ffffff !important;
        box-shadow: 0 0 25px rgba(239, 68, 68, 1), 0 0 40px rgba(239, 68, 68, 0.6) !important;
        transform: scale(1.15);
    }
}
.net-btn-suggest-pulse {
    animation: suggestPulse 0.75s infinite ease-in-out !important;
}
@keyframes suggestPulseGreen {
    0%, 100% {
        background: rgba(16, 185, 129, 0.15) !important;
        border-color: rgba(16, 185, 129, 0.4) !important;
        color: #10b981 !important;
        box-shadow: 0 0 0 rgba(16, 185, 129, 0);
        transform: scale(1);
    }
    50% {
        background: rgba(16, 185, 129, 0.95) !important;
        border-color: #34d399 !important;
        color: #ffffff !important;
        box-shadow: 0 0 25px rgba(16, 185, 129, 1), 0 0 40px rgba(16, 185, 129, 0.6) !important;
        transform: scale(1.15);
    }
}
.net-btn-suggest-green {
    animation: suggestPulseGreen 0.75s infinite ease-in-out !important;
}


/* Guarantee that the selected brand card is on top and the two unselected cards are always side-by-side below */
@media (max-width: 1200px) {
    .split-hero-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    .brand-card.selected {
        order: 1 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .brand-card.unselected {
        order: 2 !important;
        flex: 1 1 calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
    }
}


/* ==========================================================================
   Pricing & Solutions Wizard Proposal Cards Responsive Styling
   ========================================================================== */
.proposal-card {
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(34, 211, 238, 0.25) !important;
    border-radius: 10px !important;
    padding: 18px 22px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    margin-bottom: 14px !important;
    text-align: left !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.proposal-card-info {
    flex: 1 1 auto;
    min-width: 0;
}

.proposal-card-title {
    margin: 0 0 6px 0 !important;
    color: #22d3ee !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.proposal-card-desc {
    margin: 0 !important;
    color: #cbd5e1 !important;
    font-size: 0.88rem !important;
    line-height: 1.45 !important;
}

.proposal-card-action {
    text-align: right;
    min-width: 170px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.proposal-card-price {
    font-weight: 700 !important;
    color: #ffffff !important;
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
    white-space: nowrap;
}

.proposal-card-btn {
    font-size: 0.84rem !important;
    padding: 9px 18px !important;
    width: 100% !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.proposal-card-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.5) !important;
}

@media (max-width: 768px) {
    #pricing-wizard-container {
        padding: 20px 14px !important;
        margin: 0 auto 30px auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .proposal-card {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        padding: 16px 14px !important;
    }
    
    .proposal-card-info {
        width: 100% !important;
        text-align: left !important;
    }
    
    .proposal-card-title {
        font-size: 1.05rem !important;
        margin-bottom: 6px !important;
    }
    
    .proposal-card-desc {
        font-size: 0.84rem !important;
        line-height: 1.45 !important;
    }
    
    .proposal-card-action {
        width: 100% !important;
        min-width: 0 !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-top: 12px !important;
        margin-top: 2px !important;
        text-align: left !important;
    }
    
    .proposal-card-price {
        font-size: 0.92rem !important;
        text-align: left !important;
        flex: 1 1 auto !important;
        white-space: normal !important;
    }
    
    .proposal-card-btn {
        width: auto !important;
        flex: 0 0 auto !important;
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
    }
}

/* ==========================================================================
   CRYPTOSTEG & FORENSIC SIMULATORS RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 900px) {
    .sim-screen-video,
    .sim-screen-hub,
    .sim-screen {
        grid-template-columns: 1fr !important;
        min-height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    #steg-sim-visual-area,
    #video-sim-visual-area {
        min-height: 200px !important;
        max-height: 260px !important;
        border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
        border-right: none !important;
        padding: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    #steg-sim-visual-area img,
    #video-sim-visual-area img {
        max-width: 100% !important;
        max-height: 240px !important;
        width: auto !important;
        object-fit: contain !important;
    }
    #steg-sim-terminal-container,
    #video-sim-terminal-container {
        border-left: none !important;
        max-height: 180px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        word-break: break-all !important;
    }
    .video-pipeline-track {
        width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        justify-content: space-between !important;
        gap: 2px !important;
        box-sizing: border-box !important;
    }
    .video-pipeline-node {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 4px 2px !important;
    }
}

@media (max-width: 576px) {
    #steg-sim-visual-area,
    #video-sim-visual-area {
        min-height: 230px !important;
        padding: 8px !important;
    }
    #steg-sim-terminal-container,
    #video-sim-terminal-container {
        max-height: 160px !important;
        font-size: 0.62rem !important;
        padding: 10px !important;
    }
    #steg-sim-status-badge {
        font-size: 0.58rem !important;
        padding: 2px 6px !important;
    }
    #steg-sim-phase-name {
        font-size: 0.6rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 190px;
    }
    #mitmModal {
        padding: 10px !important;
    }
    #mitmModal .glass-panel {
        padding: 18px 14px !important;
        max-height: 94vh !important;
        border-radius: 12px !important;
    }
    #mitmModal h3 {
        font-size: 1.1rem !important;
    }
    #mitmModal ul {
        padding-left: 14px !important;
        font-size: 0.78rem !important;
    }
    #mitmModal p {
        font-size: 0.82rem !important;
    }
}

/* ==========================================================================
   CYBER-FORENSIC COMPARISON MATRIX STYLES
   ========================================================================== */
.comp-matrix-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.84rem;
    text-align: left;
}
.comp-matrix-table tr.comp-row {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.comp-matrix-table tr.comp-row:hover {
    background: rgba(30, 41, 59, 0.5) !important;
}
.comp-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.comp-badge-pro-yes {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34d399;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
    font-size: 0.8rem;
    white-space: nowrap;
}
.comp-badge-pro-no {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    white-space: nowrap;
}
.comp-badge-pro-warn {
    background: rgba(245, 158, 11, 0.09);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #fbbf24;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    white-space: nowrap;
}
.comp-steg-col {
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
    border-left: 1px solid rgba(56, 189, 248, 0.35);
    border-right: 1px solid rgba(56, 189, 248, 0.35);
}

/* ==========================================================================
   Interactive Cyber Dropdown Select Pulsing (Mobile & Desktop)
   ========================================================================== */
@keyframes cyber-dropdown-pulse {
    0%, 100% {
        border-color: rgba(34, 211, 238, 0.45);
        box-shadow: 0 0 10px rgba(34, 211, 238, 0.25), inset 0 0 8px rgba(34, 211, 238, 0.1);
        transform: scale(1);
    }
    50% {
        border-color: rgba(34, 211, 238, 0.95);
        box-shadow: 0 0 22px rgba(34, 211, 238, 0.75), 0 0 38px rgba(56, 189, 248, 0.4), inset 0 0 14px rgba(34, 211, 238, 0.25);
        transform: scale(1.025);
    }
}

@keyframes dropdown-arrow-bounce {
    0%, 100% {
        transform: translateY(0);
        color: #38bdf8;
        filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.4));
    }
    50% {
        transform: translateY(4px);
        color: #a5f3fc;
        filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.9));
    }
}

.vf-select-wrapper,
.cyber-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 440px;
}

.cyber-select-pulse,
#vf-decoder-select {
    width: 100%;
    background: #0b1329 !important;
    color: #f8fafc !important;
    border: 1.5px solid rgba(34, 211, 238, 0.5) !important;
    border-radius: 8px !important;
    padding: 10px 38px 10px 14px !important;
    outline: none !important;
    cursor: pointer !important;
    font-size: 0.88rem !important;
    font-family: monospace, var(--font-mono, 'Courier New') !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    transition: all 0.3s ease !important;
    animation: cyber-dropdown-pulse 2.2s ease-in-out infinite !important;
    text-shadow: 0 0 6px rgba(56, 189, 248, 0.3) !important;
}

.cyber-select-pulse:focus,
#vf-decoder-select:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.85) !important;
}

.cyber-select-wrapper .select-pulse-badge,
.vf-select-wrapper .select-pulse-badge {
    position: absolute;
    right: 14px;
    pointer-events: none;
    font-size: 0.85rem;
    color: #38bdf8;
    animation: dropdown-arrow-bounce 1.6s ease-in-out infinite;
}

.cyber-select-pulse option,
#vf-decoder-select option {
    background: #020617 !important;
    color: #f8fafc !important;
    padding: 12px !important;
    font-size: 0.88rem !important;
}

/* ======================================================== */
/* BLACKBOX SUITE • THEME STYLES (AMBER / TITANIUM / GOLD)   */
/* ======================================================== */
.btn-amber-p {
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    color: #ffffff !important;
    border: 1px solid #f59e0b !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35) !important;
}
.btn-amber-p:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5) !important;
}
.pill-amber {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
}
.glow-title-amber {
    background: linear-gradient(90deg, #ffffff 0%, #fef08a 30%, #f59e0b 70%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.55));
}
.dot-amber {
    background: #f59e0b !important;
    color: #07080a !important;
}
.bbx-tab-btn {
    background: transparent;
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #94a3b8;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bbx-tab-btn:hover {
    color: #fff;
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}
.bbx-tab-btn.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(217, 119, 6, 0.2));
    border-color: #f59e0b;
    color: #fbbf24;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

/* ==========================================================================
   MOBILE STICKY FIRST COLUMN FOR COMPARISON TABLES (VERSIONS & CRYPTOSTEG)
   Mantiene la prima colonna fissa a sinistra durante lo scroll orizzontale su mobile
   ========================================================================== */
@media (max-width: 768px) {
    /* Assicura che i wrapper abbiano overflow e scrolling fluido */
    #comparisonTableWrapper,
    .comp-matrix-table-wrapper,
    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative;
    }

    /* Tabella Confronto Versioni Software (Demo vs Singolo Pro vs Pro Suite) */
    .main-versions-table {
        min-width: 720px !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }

    /* Colonna 1 fissa a sinistra (Header e Righe dati) */
    .main-versions-table th:first-child,
    .main-versions-table td:first-child {
        position: sticky !important;
        left: 0 !important;
        z-index: 10 !important;
        background: #0b1324 !important; /* Colore solido opaco per evitare trasparenze durante lo scorrimento */
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.65), 1px 0 0 rgba(56, 189, 248, 0.3) !important;
        min-width: 175px !important;
        max-width: 210px !important;
        width: 190px !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .main-versions-table thead th:first-child {
        z-index: 15 !important;
        background: #0d172c !important;
    }

    /* Tabella Comparativa CryptoSteg vs Altre Soluzioni */
    .comp-matrix-table {
        min-width: 720px !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }

    .comp-matrix-table th:first-child,
    .comp-matrix-table td:first-child {
        position: sticky !important;
        left: 0 !important;
        z-index: 10 !important;
        background: #070d19 !important;
        box-shadow: 4px 0 16px rgba(0, 0, 0, 0.65), 1px 0 0 rgba(56, 189, 248, 0.3) !important;
        min-width: 175px !important;
        max-width: 210px !important;
        width: 190px !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    .comp-matrix-table thead th:first-child {
        z-index: 15 !important;
        background: #091222 !important;
    }
}

/* ==========================================================================
   DUAL-TECHNOLOGY LIVE MOTION SIMULATOR (QR-BRIDGE & HTML VAULT) RESPONSIVE
   ========================================================================== */
@keyframes dualLaserSweep {
    0% { top: 2%; opacity: 0.8; }
    50% { top: 92%; opacity: 1; }
    100% { top: 2%; opacity: 0.8; }
}
.dual-laser-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #06b6d4, #34d399, transparent);
    box-shadow: 0 0 12px #06b6d4, 0 0 20px #34d399;
    animation: dualLaserSweep 1.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes dualPacketFlow {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}
.dual-flow-packet {
    position: absolute;
    width: 32px;
    height: 12px;
    background: linear-gradient(90deg, #06b6d4, #34d399);
    border-radius: 6px;
    animation: dualPacketFlow 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes dualConveyor {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.dual-conveyor-belt {
    display: flex;
    gap: 12px;
    width: 200%;
    animation: dualConveyor 7s linear infinite;
    align-items: center;
    padding: 0 8px;
}
.dual-chunk-pill {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 6px;
    padding: 4px 10px;
    font-family: monospace;
    font-size: 0.65rem;
    color: #cbd5e1;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Ottimizzazioni Mobile e Schermi Piccoli */
@media (max-width: 820px) {
    .dual-sim-qr-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .dual-photon-connector {
        flex-direction: row !important;
        width: 100% !important;
        justify-content: space-between !important;
        padding: 4px 0 !important;
    }
    .dual-photon-connector div {
        flex: 1 !important;
        margin: 0 10px !important;
    }
    .dual-sharding-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

@media (max-width: 520px) {
    .dual-motion-sim-card {
        border-radius: 12px !important;
    }
    .badge-zero-net-pill {
        display: none !important;
    }
    #dual-sim-phase-title {
        font-size: 0.58rem !important;
        max-width: 180px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}


/* ==========================================================================
   MATRICI COMPARATIVE & UNICITÀ DI CATEGORIA (MOBILE & DESKTOP)
   ========================================================================== */
.uniqueness-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(34, 211, 238, 0.08) 50%, rgba(251, 191, 36, 0.08) 100%);
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 20px;
    padding: 26px 24px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    max-width: 1200px;
}

.u-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.u-title {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    font-family: var(--font-title, sans-serif);
}

.u-desc {
    font-size: 0.92rem;
    color: #cbd5e1;
    max-width: 950px;
    line-height: 1.6;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 20px;
}

.pillar-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.25s ease;
}

.pillar-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    transform: translateY(-2px);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.pillar-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(34, 211, 238, 0.15);
    color: #22d3ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.pillar-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
}

.pillar-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.45;
}

/* HUD Matrix Tables */
.hud-table-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    margin-bottom: 20px;
}

.hud-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.hud-table th {
    padding: 16px 18px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    background: rgba(10, 15, 29, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hud-table th.col-highlight {
    background: rgba(34, 211, 238, 0.1);
    color: #ffffff;
    border-bottom: 2px solid #22d3ee;
    text-align: center;
    font-weight: 800;
}

.hud-table td {
    padding: 14px 18px;
    font-size: 0.86rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.hud-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.hud-table td.col-highlight {
    background: rgba(34, 211, 238, 0.035);
    border-left: 1px solid rgba(34, 211, 238, 0.2);
    border-right: 1px solid rgba(34, 211, 238, 0.2);
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.hud-badge-no {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.hud-badge-mid {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.hud-badge-yes {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.4);
    padding: 4px 10px;
    border-radius: 7px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.15);
}

/* Mobile Cards (Touch Friendly, No Cutoffs) */
.hud-mobile-cards {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.m-card-item {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 16px;
}

.m-winner-box {
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.35);
    border-radius: 10px;
    padding: 10px 12px;
    margin: 10px 0;
}

.m-winner-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #22d3ee;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.m-rivals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 0.74rem;
}

.m-rival-item {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* TCO Callout Banner */
.tco-banner {
    background: radial-gradient(circle at center, rgba(34, 211, 238, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(34, 211, 238, 0.4);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    margin-top: 18px;
}

.tco-compare {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tco-chip {
    text-align: right;
}

.tco-chip-label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
}

.tco-chip-price {
    font-size: 1.35rem;
    font-weight: 800;
    font-family: monospace;
}

@media (max-width: 900px) {
    .hud-table-wrapper {
        display: none !important;
    }
    .hud-mobile-cards {
        display: flex !important;
    }
    .tco-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .tco-compare {
        width: 100% !important;
        justify-content: space-between !important;
    }
}
