/* ==========================================================
   NETEUM - personalizzazioni sopra al tema Lexend (theme 14)
   ========================================================== */

/* Elenchi puntati dei testi CMS */
.neteum-list { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-direction: column; gap: .6rem; }
.neteum-list li { position: relative; padding-left: 1.9rem; }
.neteum-list li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: .65rem;
    background: var(--color-primary); color: #fff;
}

/* Elenco con check del template (versioni in home) */
.neteum-checks { list-style: none; padding: 0; margin: .5rem 0 0; }
.neteum-checks li { display: flex; align-items: center; gap: .5rem; }
.neteum-checks li i { flex: none; font-size: .6rem; }

/* Testi lunghi */
.neteum-prose { font-size: 1.0625rem; line-height: 1.75; }
.neteum-prose p { margin-bottom: 1rem; }
.neteum-prose strong { color: var(--color-gray-900); }
:where(.uc-dark) .neteum-prose strong, .dark .neteum-prose strong { color: #fff; }
.neteum-prose .claim, .neteum-lead { font-size: 1.25rem; line-height: 1.6; font-weight: 500; }

/* Breadcrumb */
.neteum-crumbs { list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.neteum-crumbs li { display: inline-flex; align-items: center; }

/* Card flottanti con screenshot */
.neteum-float-card { box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .35); }

/* Immagini business/screenshot dentro le card */
.neteum-media { display: flex; align-items: flex-end; justify-content: center; overflow: hidden; min-height: 220px; }
.neteum-media img { max-height: 280px; width: auto; max-width: 100%; object-fit: contain; }

/* Dropdown menu header */
.neteum-drop { min-width: 260px; padding: 1.25rem 1.5rem; }
.neteum-drop .uc-nav-header { font-size: .75rem; letter-spacing: .04em; opacity: .6; margin-top: .25rem; }
.neteum-drop a { display: flex; align-items: center; padding: .35rem 0; }

/* Icone delle funzionalità */
.neteum-icon { width: 3rem; height: 3rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 1.15rem; }

/* Chip funzionalità non ancora documentate */
.neteum-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; font-size: .875rem; border: 1px solid rgba(0,0,0,.1); }
:where(.uc-dark) .neteum-chip { border-color: rgba(255,255,255,.15); }

/* Tabelle prezzi a scaglioni */
.neteum-tier-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.neteum-tier-table td { padding: .55rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.neteum-tier-table tr:last-child td { border-bottom: 0; }
.neteum-tier-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.dark .neteum-tier-table td, :where(.uc-dark) .neteum-tier-table td { border-color: rgba(255,255,255,.1); }

/* Utility mancanti nei CSS "purged" del template */
.hover\:-translate-y-4px { transition: transform .15s ease; }
.hover\:-translate-y-4px:hover { transform: translateY(-4px); }
.hover\:bg-opacity-10:hover { --bs-bg-opacity: .1; }
.bg-white.bg-opacity-10 { background-color: rgba(255, 255, 255, .1) !important; }
.mb-narrow { margin-bottom: .25rem; }
.flex-wrap { flex-wrap: wrap; }
.max-w-300px { max-width: 300px; }
.z-9 { z-index: 9; }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, .5); background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--color-gray-900) !important; border-color: #fff; }
@media (min-width: 1200px) { .xl\:w-650px { width: 650px; } }
.self-center { align-self: center; }
@media (min-width: 992px) {
    .lg\:self-start { align-self: flex-start !important; }
    .lg\:sticky { position: sticky; }
    .lg\:top-120px { top: 120px; }
}

/* Footer */
.neteum-footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.neteum-footer-nav a { text-decoration: none; }
.neteum-footer-nav a:hover { color: var(--color-primary); }

/* Icone grandi (griglia funzionalità) */
.neteum-icon-xl { font-size: 2.5rem; line-height: 1; }

/* Altre utility non presenti nei CSS purged */
.mt-auto { margin-top: auto !important; }
.text-gray-700 { color: rgba(var(--bs-gray-700-rgb, 64, 64, 64), 1) !important; }
.dark .text-gray-700.dark\:text-gray-200, :where(.uc-dark) .text-gray-700.dark\:text-gray-200 { color: rgba(var(--bs-gray-200-rgb, 229, 229, 229), 1) !important; }
.text-primary-600 { color: var(--color-primary-600) !important; }
@media (min-width: 459px) { .sm\:d-flex { display: flex !important; } }
@media (min-width: 992px) {
    .lg\:col-9 { --grid-total: 12; --grid-count: 9; flex: 0 0 auto; width: 75%; }
    .lg\:max-w-none { max-width: none !important; }
}
@media (min-width: 1200px) {
    .xl\:col-8 { --grid-total: 12; --grid-count: 8; flex: 0 0 auto; width: 66.66666667%; }
}

/* ==========================================================
   Versione ASP.NET (viste Razor)
   ========================================================== */

/* Pagine aperte dentro un iframe (vecchi modal): niente header/footer/CTA */
.neteum-framed .neteum-chrome { display: none !important; }
.neteum-framed #hero_header .section-outer { padding-top: 2rem !important; }

/* Barra fissa "Prova la demo" */
.neteum-cta-demo { position: fixed; left: 50%; bottom: 1rem; z-index: 98; transform: translate(-50%, 150%); opacity: 0; transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s; gap: .5rem; }
.neteum-cta-demo.neteum-cta-demo-visibile { transform: translate(-50%, 0); opacity: 1; }

/* Testi hero che arrivano dal CMS (possono contenere <p>, <br>, <strong>) */
.neteum-hero-text p, .neteum-hero-title p { margin: 0; }

/* Corpo HOME su fondo scuro: i titoletti h3 diventano "chip" */
.neteum-home-intro img { display: none; }
.neteum-home-intro p { font-size: 1.25rem; line-height: 1.6; }
.neteum-home-intro h3 { display: inline-flex; align-items: center; margin: .35rem .35rem 0 0; padding: .4rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--color-secondary); font-size: 1rem; font-weight: 700; }

/* Logo piccolo accanto ai titoli (immagine "LOGO" del CMS) */
.neteum-inline-logo { height: 1.4em; width: auto; vertical-align: middle; margin-right: .35rem; display: inline-block; }

/* Link alle schede nella sezione funzionalità */
.neteum-feature-link { transition: background .15s ease; }
.neteum-feature-link:hover { background: rgba(255,255,255,.08); }
/* Pagine di moduli e versioni, sezione Funzionalità: tooltip "Attivato con <modulo>" sulle schede del modulo,
   "Compreso con <versione>" / "Attivabile con <modulo>" sulle schede di altre pagine, attenuate (solo icona e testo,
   non il tooltip) */
.neteum-voce-attenuata > :not(.neteum-tip) { opacity: .5; transition: opacity .15s ease; }
.neteum-voce-attenuata:hover > :not(.neteum-tip) { opacity: .8; }
.neteum-con-tip { position: relative; }
.neteum-tip {
    position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 20;
    display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
    padding: .5rem .9rem; border-radius: .75rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%); color: #fff;
    font-size: .85rem; font-weight: 500; line-height: 1.2; letter-spacing: .01em;
    box-shadow: 0 10px 25px -5px rgba(79, 70, 229, .55), 0 0 0 1px rgba(255, 255, 255, .12) inset;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translate(-50%, 6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.neteum-tip::after {
    content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    border: 7px solid transparent; border-top-color: #6a3fe0;
}
.neteum-tip i { color: var(--color-secondary); font-size: .9rem; }
.neteum-tip strong { color: var(--color-secondary); font-weight: 800; }
.neteum-con-tip:hover .neteum-tip, .neteum-con-tip:focus-visible .neteum-tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.neteum-icon-sm { width: 2.25rem; height: 2.25rem; font-size: .95rem; }
.neteum-icon i { line-height: 1; }
/* Pagina di versione/modulo/plugin: schede associate alla pagina (categoria indice) con la spunta verde
   nell'angolo in alto a sinistra dell'icona, alta metà del cerchio */
.neteum-icon-associato { position: relative; }
.neteum-spunta-associato {
    position: absolute; top: -12%; left: -12%; width: 50%; height: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: #16a34a; color: #fff;
    box-shadow: 0 0 0 2px var(--color-gray-900, #111);
}
.neteum-icon .neteum-spunta-associato i { font-size: .55rem; line-height: 1; }
.neteum-prose-sm p { margin-bottom: .5rem; }

/* Testi lunghi del CMS (pagine business, schede, servizi) */
.neteum-cms h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin: 0 0 1rem; }
.neteum-cms h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 2rem 0 .75rem; }
.neteum-cms h3 { font-size: 1.35rem; margin: 1.5rem 0 .5rem; }
.neteum-cms header { margin-bottom: 2rem; }
.neteum-cms header p:first-of-type { font-size: 1.25rem; font-weight: 500; }
.neteum-cms section { background: var(--color-tertiary, #f5f5fa); border-radius: 1rem; padding: 1.5rem; margin: 1.25rem 0; }
.neteum-cms section > div > p:only-child, .neteum-cms section > p:first-child { font-size: .8rem; font-weight: 700; letter-spacing: .05em; color: var(--color-primary); margin-bottom: .25rem; }
.neteum-cms section h2 { margin-top: 0; }
.dark .neteum-cms section, :where(.uc-dark) .neteum-cms section { background: rgba(255,255,255,.05); }
.neteum-cms ul { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-direction: column; gap: .6rem; }
.neteum-cms ul li { position: relative; padding-left: 1.9rem; }
.neteum-cms ul li::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: .65rem;
    background: var(--color-primary); color: #fff;
}
.neteum-cms img { max-width: 100%; height: auto; border-radius: .75rem; }
.neteum-cms iframe { max-width: 100%; border-radius: .75rem; }

/* Form contatti (formulari.js) */
.st_input_item.filed_error .form-control, input.filed_error, textarea.filed_error { border-color: #e11d48 !important; }
.st-form-info { width: 100%; overflow: hidden; display: none; margin-top: 1.5rem; text-align: center; }
.st-form-info .st-form-loader { width: 20px; height: 20px; margin: 0 auto; background: url("../images/loading.png") center / 100% auto no-repeat; animation: neteum-rotate 3s linear infinite; }
.st-form-info .st-form-info-success i { color: #16a34a; }
.st-form-info .st-form-info-error i { color: #e11d48; }
@keyframes neteum-rotate { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* Utility usate dalle viste Razor */
.text-yellow { color: #f5b301 !important; }
.flex-none { flex: none; }

/* Modal iziModal (Calendly): il tema forza sugli h2 la tipografia dei titoli di sezione
   ("h2 { font-size: ... !important }" in theme-fourteen), serve !important anche qui */
.iziModal .iziModal-header-title { font-size: 1.25rem !important; line-height: 1.4 !important; font-weight: 600; margin: 0; letter-spacing: 0 !important; }
.iziModal .iziModal-header-subtitle { font-size: .875rem; }

/* sm:col-12 non c'è nei CSS purged; limitata a sotto lg, altrimenti caricata dopo il tema scavalcherebbe lg:col-N */
@media (min-width: 459px) and (max-width: 991.98px) {
    .sm\:col-12 { --grid-total: 12; --grid-count: 12; flex: 0 0 auto; width: 100%; }
}

/* Logo dell'header (+50% rispetto ai max-w-128px / lg:max-w-150px del template, che rendevano ~128 / 126px) */
.neteum-header-logo { max-width: 192px; }
@media (min-width: 992px) {
    .neteum-header-logo { max-width: none; }
    .neteum-header-logo img { width: 189px; }
}

/* Tutorial: l'header del sito è sovrapposto alla pagina (nei template blog no). L'intestazione della lista
   ha lo spazio dentro (lo sfondo passa sotto l'header, come l'hero), la striscia del breadcrumb dell'articolo sotto */
.neteum-spazio-header { padding-top: 7.5rem !important; }
.neteum-margine-header { margin-top: 6rem; }
@media (min-width: 992px) {
    .neteum-spazio-header { padding-top: 10.5rem !important; }
    .neteum-margine-header { margin-top: 10rem; }
}

/* Ancore verso le sezioni (#tab-risorse, #servizi, #help...): l'header fisso copriva il titolo della sezione */
.section[id] { scroll-margin-top: 3rem; }

/* Card di versioni e moduli in home: stesso sfondo della sezione Risorse, il bordo ne disegna il contorno */
.neteum-card-bordo { border: 1px solid rgba(17, 17, 17, .14); }
.uc-dark .neteum-card-bordo { border-color: rgba(255, 255, 255, .16); }

/* Scheda funzionalità aperta nel modal (iframe): l'header è nascosto, la striscia del breadcrumb non deve lasciargli spazio */
.neteum-framed .neteum-margine-header { margin-top: 0 !important; }
