/* ==========================================
   STARTGAMING - Premium Stylesheet (Revisione 8 - Kit Operativo Espanso)
   ========================================== */

:root {
    --bg-color: #ffffff;
    --bg-alt: #f4f7fa;
    --card-bg: #ffffff;
    --card-bg-hover: #fbfdff;
    --primary: #0077ff;
    --primary-grad: linear-gradient(135deg, #00C0FF 0%, #0077ff 100%);
    --primary-glow: rgba(0, 119, 255, 0.2);
    --text-main: #1a1c22;
    --text-muted: #5f6368;
    --border-color: rgba(0, 0, 0, 0.06);
    --border-color-hover: rgba(0, 119, 255, 0.25);
    --font-titles: 'Outfit', sans-serif;
    --font-text: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.025);
    --shadow-hover: 0 25px 50px rgba(0, 119, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-text);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-color);
}

/* Background Glowing Sferes */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background: 
        radial-gradient(circle at 5% 15%, rgba(0, 192, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 95% 85%, rgba(168, 85, 247, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, #ffffff 0%, #f4f7fa 100%);
}

/* Texture geometrica a micropunti */
.dot-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background-image: radial-gradient(rgba(0, 119, 255, 0.035) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

/* Typography Utility Classes */
h1, h2, h3, h4 {
    font-family: var(--font-titles);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

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

/* Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 5;
}

.btn-primary {
    background: var(--primary-grad);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 255, 0.45);
}

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

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color-hover);
}

.btn-outline:hover {
    background: rgba(0, 119, 255, 0.04);
    transform: translateY(-3px);
}

/* Bottone bianco outline per la Hero scura */
.btn-outline-white {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* Bottone scuro outline per la Hero chiara */
.btn-outline-dark {
    background: transparent;
    color: #111215;
    border: 1px solid rgba(17, 18, 21, 0.45);
}

.btn-outline-dark:hover {
    background: rgba(17, 18, 21, 0.05);
    border-color: #111215;
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(0, 119, 255, 0.06);
    border: 1px solid var(--border-color-hover);
    color: var(--primary);
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-titles);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.badge-hero {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(0, 192, 255, 0.15);
    border: 1px solid rgba(0, 192, 255, 0.4);
    color: #00c0ff;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-titles);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Glassmorphism Card base */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.8rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-color-hover);
    background: var(--card-bg-hover);
    box-shadow: var(--shadow-hover);
}

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-wrapper-header {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 38px;
    width: auto;
    overflow: visible;
}

/* Stella Animazione */
@keyframes pulse-star {
    0% { opacity: 0.85; filter: drop-shadow(0 0 2px rgba(0, 192, 255, 0.3)); }
    50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(0, 192, 255, 0.7)); }
    100% { opacity: 0.85; filter: drop-shadow(0 0 2px rgba(0, 192, 255, 0.3)); }
}

#logo-star {
    animation: pulse-star 3s ease-in-out infinite;
}

.brand-divider {
    height: 24px;
    width: 1px;
    background-color: var(--border-color);
    margin: 0 1.2rem;
}

.by-text {
    font-family: var(--font-titles);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.due-di-picche-text {
    font-family: Georgia, serif;
    font-weight: bold;
    font-style: italic;
    color: var(--text-main);
    margin-left: 2px;
}

.due-di-picche-text .grey-text {
    color: #94a3b8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    font-family: var(--font-titles);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

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

/* Hero Section (Fullscreen Slideshow) */
.hero-section.hero-fullscreen {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    padding-top: 80px; /* Lascia spazio alla testata fissa */
    padding-bottom: 0;
}

/* Background Slider container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    width: 300%; /* 3 slide da 100% l'una */
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slider .slide {
    width: 33.3333%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Contenitore centrale dello slideshow per contenerlo esattamente tra le due bande */
.hero-slider-container {
    flex-grow: 1;
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Leggerissima maschera per non alterare i colori originali delle immagini */
.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05); /* Quasi invisibile per la massima fedeltà d'immagine */
    z-index: 1;
    pointer-events: none;
}

/* Bande Orizzontali (Top & Bottom) Solide Blu Navy con bordini neon brandizzati */
.hero-band-top {
    position: relative;
    z-index: 10;
    background: #081830; /* Blu navy profondo, elimina il nero pesante */
    border-bottom: 2px solid #0077FF; /* Transizione netta neon blue */
    padding: 2.2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.hero-band-bottom {
    position: relative;
    z-index: 10;
    background: #081830; /* Blu navy profondo */
    border-top: 2px solid #0077FF; /* Transizione netta neon blue */
    padding: 2.5rem 1.5rem 2.8rem 1.5rem;
    text-align: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.25);
    margin-top: auto; /* Forza in fondo nel contenitore flex */
}

.hero-category {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: #a0aec0; /* Grigio chiaro pulito */
}

.hero-title-direct {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 0; /* Ultimo elemento della banda superiore */
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 900;
}

.hero-subtitle-products {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fbd38d; /* Oro caldo brillante */
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.hero-subtitle-direct {
    font-size: 1.05rem;
    color: #cbd5e0; /* Grigio chiaro leggibile */
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Stats Section */
.stats-section {
    padding: 3.8rem 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-alt);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-val {
    font-size: 2.9rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

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

.scenario-section {
    padding: 7rem 0;
    background-color: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
}

.scenario-card-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.scenario-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 2.8rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.scenario-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color-hover);
}

.scenario-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 2rem;
    background: #edf2f7;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.scenario-graphic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.scenario-card:hover .scenario-graphic-img {
    transform: scale(1.05);
}

.scenario-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #111215;
    font-weight: 800;
}

.scenario-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.96rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-bottom 0.4s ease;
    z-index: 2;
}

.scenario-desc.is-visible {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 1.5rem;
}

.scenario-toggle-btn {
    align-self: flex-start;
    color: var(--primary);
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: auto;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.scenario-toggle-btn:hover {
    color: #0055cc;
    transform: translateX(4px);
}

/* Sections General */
.section-header {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #111215;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Sezione Unificata Cosa Ti Offriamo */
.offriamo-section {
    padding: 7rem 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

/* Sotto-intestazione per i capitoli interni (01 e 02) */
.offriamo-subsection-header {
    margin-top: 1rem;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 800px;
}

.offriamo-subsection-header h3 {
    font-size: 1.85rem;
    font-family: var(--font-titles);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.offriamo-subsection-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Separatore elegante tra le due sotto-sezioni */
.offriamo-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(0, 119, 255, 0) 0%, var(--border-color) 20%, var(--border-color) 80%, rgba(0, 119, 255, 0) 100%);
    margin: 6rem 0;
}

.pilastri-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.pilastro-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    padding: 2.2rem 2rem 2.5rem 2rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pilastro-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color-hover);
}

.pilastro-img-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.8rem;
    background: #edf2f7;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.pilastro-graphic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pilastro-card:hover .pilastro-graphic-img {
    transform: scale(1.06);
}

.pilastro-num {
    font-family: var(--font-titles);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(0, 119, 255, 0.04);
    position: absolute;
    top: 2rem;
    right: 2rem;
    line-height: 1;
    z-index: 1;
}

.pilastro-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #111215;
    z-index: 2;
    font-weight: 800;
}

.pilastro-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-bottom 0.4s ease;
    z-index: 2;
}

.pilastro-desc.is-visible {
    max-height: 250px;
    opacity: 1;
    margin-bottom: 1.5rem;
}

.pilastro-toggle-btn {
    align-self: flex-start;
    color: var(--primary);
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    margin-top: auto;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.pilastro-toggle-btn:hover {
    color: #0055cc;
    transform: translateX(4px);
}



.kit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Colonne */
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.kit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    padding: 2.2rem 2rem 2.5rem 2rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.kit-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color-hover);
}

/* Wrapper per le immagini del kit */
.kit-img-wrapper {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 1.8rem;
    background: #edf2f7;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.kit-graphic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.kit-card:hover .kit-graphic-img {
    transform: scale(1.06);
}

.kit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #111215;
    font-weight: 800;
}

/* Descrizione collassabile per impostazione predefinita */
.kit-desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-bottom 0.4s ease;
    z-index: 2;
}

/* Classe attivata via JS per mostrare il testo */
.kit-desc.is-visible {
    max-height: 250px;
    opacity: 1;
    margin-bottom: 1.5rem;
}

/* Pulsante interattivo "Scopri di più" */
.kit-toggle-btn {
    align-self: flex-start;
    color: var(--primary);
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    margin-top: auto; /* Spinge il pulsante sul fondo */
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.kit-toggle-btn:hover {
    color: #0055cc;
    transform: translateX(4px);
}

/* Contact Section */
.contact-section {
    padding: 7rem 0;
    background: var(--bg-alt);
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.contact-details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-mail-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-mail-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.detail-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background: rgba(0, 119, 255, 0.04);
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-color-hover);
}

.contact-form-panel {
    display: flex;
    flex-direction: column;
}

.contact-form {
    padding: 3rem;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #fcfdff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(0, 119, 255, 0.15);
    background: #ffffff;
}

.form-group select option {
    background: #ffffff;
    color: var(--text-main);
}

.form-privacy-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.privacy-checkbox {
    width: auto !important;
    margin-top: 0.25rem;
    cursor: pointer;
}

.privacy-label {
    font-size: 0.82rem !important;
    color: var(--text-muted);
    font-weight: 400 !important;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

.privacy-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.privacy-link:hover {
    color: #0055cc;
}

.form-status {
    margin-top: 1.5rem;
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
    text-align: center;
}

.form-status.success {
    background: rgba(39, 174, 96, 0.08);
    border: 1px solid rgba(39, 174, 96, 0.2);
    color: #27ae60;
    display: block;
}

.form-status.error {
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #c0392b;
    display: block;
}

/* Footer */
.main-footer {
    padding: 4.5rem 0 3.5rem 0;
    background: #090b0e;
    color: #7f8490;
    border-top: 1px solid #14171d;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-brand span {
    color: #7f8490 !important;
}

.footer-brand .due-di-picche-text {
    color: #ffffff !important;
}

.main-footer p {
    font-size: 0.85rem;
    color: #7f8490;
}

.footer-notice {
    font-size: 0.72rem !important;
    opacity: 0.5;
    max-width: 600px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-subtitle-direct {
        margin-left: auto;
        margin-right: auto;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pilastri-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .kit-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 su Tablet */
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Pulsante Hamburger (Nascosto su Desktop) */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animazione Hamburger all'attivazione */
.hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }
    
    .nav-menu {
        display: none; /* Nascosto all'avvio */
        position: absolute;
        top: 80px; /* Altezza dell'header */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        gap: 1.8rem;
        align-items: center;
        z-index: 999;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.open {
        display: flex;
        animation: slideDownMenu 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @keyframes slideDownMenu {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .hero-band-top {
        padding: 1.4rem 1rem;
    }
    .hero-band-bottom {
        padding: 1.8rem 1rem 2rem 1rem;
    }
    .hero-category {
        font-size: 0.8rem;
        letter-spacing: 0.12em;
        margin-bottom: 0.4rem;
    }
    .hero-title-direct {
        font-size: 1.8rem;
        margin-bottom: 0;
    }
    .hero-subtitle-products {
        font-size: 0.9rem;
        letter-spacing: 0.08em;
        margin-bottom: 0.8rem;
    }
    .hero-subtitle-direct {
        font-size: 0.9rem;
        margin-bottom: 1.4rem;
        line-height: 1.45;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .scenario-card {
        padding: 1.8rem 1.5rem;
    }
    .scenario-img-wrapper {
        height: 160px;
        margin-bottom: 1.5rem;
    }
    .scenario-card h3 {
        font-size: 1.25rem;
    }
    .scenario-desc {
        font-size: 0.88rem;
    }
    .pilastri-grid {
        grid-template-columns: 1fr;
    }
    .kit-grid {
        grid-template-columns: 1fr; /* 1 colonna su Mobile */
    }
    .contact-form {
        padding: 1.5rem;
    }
}

/* ==========================================
   Sezione Blog Homepage & Articoli
   ========================================== */

.blog-section {
    padding: 7rem 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    justify-content: center;
    max-width: 800px; /* Centriamo e limitiamo per un singolo articolo iniziale */
    margin: 0 auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-color-hover);
}

.blog-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #edf2f7;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.04);
}

.blog-card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-category-tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
}

.blog-card-title {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 800;
}

.blog-card-excerpt {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-btn {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition);
    margin-top: auto;
}

.blog-read-btn:hover {
    color: #0055cc;
    transform: translateX(4px);
}

/* Stili Pagina Articolo Blog */
.blog-post-page {
    background: var(--bg-alt);
}

.article-main-container {
    padding: 140px 0 7rem 0; /* lascia spazio per l'header fisso */
    position: relative;
    z-index: 10;
}

.container-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.article-navigation {
    margin-bottom: 2.2rem;
}

.back-link {
    font-family: var(--font-titles);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.back-link:hover {
    color: #0055cc;
}

.article-header {
    margin-bottom: 2.5rem;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.25;
    color: var(--text-main);
    margin-top: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 900;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.2rem;
}

.article-meta strong {
    color: var(--text-main);
}

.article-cover-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

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

.article-content {
    font-size: 1.12rem;
    line-height: 1.85;
    color: #2d3748; /* Colore scuro confortevole per lettura */
}

.article-content p {
    margin-bottom: 1.8rem;
}

.article-content .lead {
    font-size: 1.3rem;
    line-height: 1.75;
    color: var(--text-main);
    font-weight: 500;
}

.article-content h2 {
    font-size: 1.85rem;
    color: var(--text-main);
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.article-content h3 {
    font-size: 1.45rem;
    color: var(--text-main);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.8rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.6rem;
}

.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 1.2rem 1.5rem;
    background: rgba(0, 119, 255, 0.03);
    border-radius: 0 16px 16px 0;
    margin: 2.5rem 0;
    font-style: italic;
    color: #4a5568;
}

.article-content blockquote p {
    margin-bottom: 0;
}

/* Box CTA finale sotto l'articolo */
.article-cta-box {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #081830 0%, #0c2040 100%);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-align: center;
    box-shadow: var(--shadow);
}

.article-cta-box h3 {
    font-size: 1.6rem;
    color: #ffffff !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    font-weight: 800;
}

.article-cta-box p {
    font-size: 1.05rem;
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Articolo */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    .article-main-container {
        padding-top: 110px;
    }
    .article-title {
        font-size: 1.95rem;
    }
    .article-cover-wrapper {
        height: 250px;
        margin-bottom: 2rem;
        border-radius: 20px;
    }
    .article-content {
        font-size: 1.05rem;
        line-height: 1.75;
    }
    .article-content h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }
    .article-content h3 {
        font-size: 1.25rem;
    }
    .article-cta-box {
        padding: 2.2rem 1.5rem;
        border-radius: 20px;
    }
}
