/* =========================================
   1. VARIABILI & SETUP GENERALE
   ========================================= */
   :root {
    --bg-tech: #010808;
    --petrol-dark: #002b2b;
    --petrol-medium: #004d4d;
    --neon-cyan: #00f3ff;
    --text-light: #e0f7f7;
    --text-dim: #88a0a0;
    
    --glass-bg: rgba(2, 12, 12, 0.75); 
    --glass-border: rgba(0, 243, 255, 0.25); 
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(0, 243, 255, 0.05);
    
    --grid-line: rgba(0, 243, 255, 0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-tech);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    background-attachment: fixed;
}

/* =========================================
   2. ANIMAZIONI GLOBALI
   ========================================= */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes neonPulse {
    0% { text-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan); }
    100% { text-shadow: 0 0 10px var(--neon-cyan), 0 0 25px var(--neon-cyan), 0 0 40px var(--neon-cyan); }
}
@keyframes hologramFlicker {
    0% { opacity: 0.8; transform: scaleY(1); filter: brightness(1); }
    5% { opacity: 0.6; transform: scaleY(0.98) skewX(2deg); filter: brightness(1.2); }
    10% { opacity: 0.9; transform: scaleY(1.02) skewX(-2deg); }
    15% { opacity: 0.4; }
    20% { opacity: 0.8; transform: scaleY(1); }
    50% { opacity: 0.9; filter: brightness(1.3); }
    80% { opacity: 0.5; transform: scaleY(0.99); }
    100% { opacity: 0.8; transform: scaleY(1); filter: brightness(1); }
}
@keyframes basePulse { from { transform: scale(0.8); opacity: 0.3; } to { transform: scale(1.2); opacity: 0.7; } }

/* =========================================
   3. HEADER & NAVIGAZIONE
   ========================================= */
nav { position: relative; z-index: 2000; }
.logo-wrapper { position: fixed; top: 20px; left: 5%; z-index: 2001; display: flex; align-items: center; gap: 15px; }
.profile-img-header { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; border: 2px solid var(--neon-cyan); box-shadow: 0 0 10px rgba(0, 243, 255, 0.4); background-color: var(--petrol-dark); transition: 0.3s; }
.profile-img-header img { width: 100%; height: 100%; object-fit: cover; }
.profile-img-header:hover { transform: scale(1.1); box-shadow: 0 0 20px var(--neon-cyan); }
.logo { font-size: 1.8rem; font-weight: bold; color: var(--text-light); text-shadow: 0 0 10px rgba(0,0,0,0.5); }
.logo span { color: var(--neon-cyan); }
.hamburger { position: fixed; top: 25px; right: 5%; cursor: pointer; z-index: 2001; background: rgba(0, 20, 20, 0.6); padding: 10px; border-radius: 8px; backdrop-filter: blur(5px); border: 1px solid var(--glass-border); }
.hamburger div { width: 30px; height: 3px; background-color: var(--neon-cyan); margin: 6px; transition: 0.3s; }
.toggle .line1 { transform: rotate(-45deg) translate(-5px, 8px); background-color: var(--text-light); }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -8px); background-color: var(--text-light); }
.nav-links { position: fixed; top: 0; left: 0; height: 100vh; width: 100%; background: rgba(1, 8, 8, 0.98); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; z-index: 2000; }
.nav-links.open { opacity: 1; pointer-events: all; }
.nav-links li { list-style: none; }
.nav-links a { font-size: 2.2rem; text-decoration: none; color: var(--text-light); font-weight: bold; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s; }
.nav-links a:hover { color: var(--neon-cyan); letter-spacing: 5px; text-shadow: 0 0 20px var(--neon-cyan); }

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center; text-align: center; 
    padding: 120px 10% 80px; position: relative; overflow: hidden;
    background: radial-gradient(circle at center, #001a1a 0%, #000000 100%);
}
#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; filter: blur(1px); opacity: 0.8; }
.hero-content { position: relative; z-index: 2; animation: fadeInUp 1s ease-out; }
.hero-name-big { font-size: 3.5rem; font-weight: 800; color: #ffffff; line-height: 1.1; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 30px rgba(0,0,0,0.8); animation: fadeInUp 0.8s ease-out; }
.tagline { letter-spacing: 4px; font-size: 0.9rem; color: var(--neon-cyan); margin-bottom: 20px; text-transform: uppercase; font-weight: 600; }
.hero-headline { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.3; color: var(--text-light); font-weight: 300; }
h2 .neon-text { animation: neonPulse 2s infinite alternate; }
.description { max-width: 700px; margin: 0 auto 40px; font-size: 1.1rem; color: var(--text-dim); }
.hero-btns { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-main { background: var(--neon-cyan); color: var(--bg-tech); padding: 15px 35px; text-decoration: none; font-weight: bold; border-radius: 50px; box-shadow: 0 0 15px rgba(0, 243, 255, 0.4); transition: 0.3s; }
.btn-main:hover { box-shadow: 0 0 35px var(--neon-cyan); transform: scale(1.05); }
.btn-secondary { padding: 15px 35px; text-decoration: none; color: var(--text-light); border: 1px solid rgba(0, 243, 255, 0.3); border-radius: 50px; transition: 0.3s; }
.btn-secondary:hover { border-color: var(--neon-cyan); background: rgba(0, 243, 255, 0.1); }
.overlap-hero { margin-top: -65px; margin-bottom: 0; position: relative; z-index: 10; pointer-events: none; opacity: 0.8; }
.overlap-hero .bolt-path { filter: drop-shadow(0 0 8px var(--neon-cyan)); }

/* =========================================
   5. HYBRID MANAGER & UX/UI SECTION
   ========================================= */
   .hybrid-section, .market-section, .sem-section { padding: 80px 8%; position: relative; }
   .hybrid-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; }
   .sub-neon { color: var(--neon-cyan); font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
   .hybrid-title { font-size: 3rem; line-height: 1.1; color: var(--text-light); margin-bottom: 40px; }
   .hybrid-desc { font-size: 1.1rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 30px; max-width: 90%; }
   .hybrid-desc strong { color: var(--text-light); font-weight: 600; }
   .hybrid-list-wrapper { border-left: 1px solid rgba(0, 243, 255, 0.2); padding-left: 40px; }
   .unlocked-list { list-style: none; display: flex; flex-direction: column; gap: 30px; margin-top: 10px; }
   .unlocked-list li { display: flex; gap: 20px; align-items: flex-start; }
   .unlocked-list i { font-size: 1.5rem; color: var(--neon-cyan); margin-top: 5px; text-shadow: 0 0 10px rgba(0, 243, 255, 0.4); }
   .unlocked-list div { display: flex; flex-direction: column; }
   .unlocked-list strong { font-size: 1.1rem; color: var(--text-light); margin-bottom: 5px; }
   .unlocked-list span { font-size: 0.9rem; color: var(--text-dim); font-weight: 300; }
   
   /* UX/UI: AUTOMAN STYLE (Neon & Grid Aggiornato) */
   .ux-grid { 
       display: grid; 
       grid-template-columns: 1fr 1fr; 
       gap: 60px; 
       align-items: center; 
   }
   
   .automan-box {
       background: radial-gradient(circle at center, #001a1a 0%, #000000 100%);
       border: 2px solid var(--neon-cyan);
       border-radius: 10px;
       padding: 10px;
       box-shadow: 0 0 20px rgba(0, 243, 255, 0.2), inset 0 0 30px rgba(0, 243, 255, 0.1);
       position: relative;
       overflow: hidden;
   }
   
   .automan-svg {
       width: 100%;
       height: auto;
       display: block;
   }
   
   /* Griglia di sfondo animata */
   .grid-bg {
       opacity: 0.3;
   }
   
   /* Le linee che si disegnano */
   .auto-line {
       fill: none;
       stroke: var(--neon-cyan);
       stroke-width: 2;
       stroke-linecap: round;
       stroke-linejoin: round;
       filter: drop-shadow(0 0 5px var(--neon-cyan));
       
       /* Animazione tratteggio */
       stroke-dasharray: 1000;
       stroke-dashoffset: 1000;
       animation: drawAutoman 3s linear infinite;
   }
   
   .delay-ui {
       animation-delay: 1s; /* Parte dopo la cornice */
   }
   
   .delay-cards {
       animation-delay: 2s; /* Parte dopo la UI */
   }
   
   @keyframes drawAutoman {
       0% { stroke-dashoffset: 1000; opacity: 0; }
       10% { opacity: 1; }
       80% { stroke-dashoffset: 0; opacity: 1; }
       90% { opacity: 0; } /* Svanisce alla fine */
       100% { stroke-dashoffset: 0; opacity: 0; }
   }
   
   /* Il Cursore (La "Scheggia" Luminosa) */
   .cursor-group polygon {
       fill: #ffffff;
       stroke: var(--neon-cyan);
       stroke-width: 1;
       filter: drop-shadow(0 0 8px #ffffff); /* Glow bianco intenso centrale */
   }

/* =========================================
   6. MARKET INTELLIGENCE
   ========================================= */
.market-section { background: radial-gradient(circle at center, rgba(0, 77, 77, 0.1) 0%, transparent 60%); }
.market-intro { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.market-intro h3 { font-size: 1.8rem; color: var(--text-light); margin-bottom: 15px; }
.market-intro p { font-size: 1.1rem; color: var(--text-dim); }
.radar-grid { display: grid; grid-template-columns: 1fr 200px 1fr; grid-template-rows: 1fr 1fr; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
.radar-core { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.core-label { margin-top: 15px; font-size: 1rem; font-weight: bold; color: var(--neon-cyan); text-shadow: 0 0 5px var(--neon-cyan); letter-spacing: 1px; }
.radar-node { background: rgba(255, 255, 255, 0.02); border-left: 3px solid var(--petrol-medium); padding: 20px; transition: 0.3s; }
.radar-node:hover { border-left-color: var(--neon-cyan); background: linear-gradient(90deg, rgba(0,243,255,0.05), transparent); transform: translateX(5px); }
.radar-node h4 { color: var(--text-light); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.radar-node h4 i { color: var(--neon-cyan); }
.radar-node p { font-size: 0.9rem; color: var(--text-dim); margin: 0; line-height: 1.5; }
.node-1, .node-2 { text-align: right; border-left: none; border-right: 3px solid var(--petrol-medium); justify-self: end; grid-column: 1; }
.node-1:hover, .node-2:hover { border-right-color: var(--neon-cyan); transform: translateX(-5px); }
.node-1 { grid-row: 1; } .node-2 { grid-row: 2; } .node-3 { grid-column: 3; grid-row: 1 / span 2; justify-self: start; }

/* =========================================
   7. SEO ARCHITECTURE
   ========================================= */
.seo-intro-box { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.seo-intro-box h3 { font-size: 1.8rem; color: var(--text-light); margin-bottom: 20px; }
.seo-intro-box p { font-size: 1.1rem; color: var(--text-dim); line-height: 1.6; }
.seo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.seo-card { background: rgba(0, 20, 20, 0.6); border: 1px solid var(--petrol-medium); padding: 35px 25px; border-radius: 10px; transition: 0.3s; display: flex; flex-direction: column; align-items: flex-start; }
.seo-card:hover { border-color: var(--neon-cyan); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1); }
.seo-card h4 { color: var(--neon-cyan); font-size: 1.2rem; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.seo-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.5; margin-bottom: 25px; flex-grow: 1; }
.tech-tag { font-family: 'Courier New', monospace; font-size: 0.75rem; color: var(--petrol-medium); background: rgba(0, 243, 255, 0.05); padding: 5px 10px; border-radius: 4px; border: 1px solid rgba(0, 243, 255, 0.1); align-self: flex-start; }
.seo-card:hover .tech-tag { color: var(--neon-cyan); border-color: var(--neon-cyan); }
/* OLO ICONS */
.holo-container-small { position: relative; height: 60px; width: 60px; display: flex; justify-content: center; align-items: flex-end; margin-bottom: 20px; }
.holo-icon-small-anim { font-size: 3rem; color: var(--neon-cyan); opacity: 0.9; animation: hologramFlicker 3s infinite; filter: drop-shadow(0 0 10px var(--neon-cyan)); position: relative; z-index: 2; }
.holo-base-small { width: 40px; height: 10px; background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 70%); border-radius: 50%; position: absolute; bottom: -5px; opacity: 0.4; animation: basePulse 2s infinite alternate; box-shadow: 0 0 15px var(--neon-cyan); }

/* =========================================
   8. SEM / ADS
   ========================================= */
.sem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-start; }
.sem-headline { font-size: 2rem; color: var(--text-light); margin-bottom: 25px; line-height: 1.2; }
.sem-desc { font-size: 1.05rem; color: var(--text-dim); margin-bottom: 20px; line-height: 1.6; }
.sem-methodology { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.method-row { display: flex; gap: 15px; align-items: flex-start; }
.method-row i { font-size: 1.5rem; color: var(--neon-cyan); background: rgba(0,243,255,0.1); padding: 10px; border-radius: 5px; }
.method-row strong { color: var(--text-light); display: block; margin-bottom: 5px; }
.method-row span { color: var(--text-dim); font-size: 0.9rem; }
.sem-card-tech { background: #0b1015; border: 1px solid var(--petrol-medium); padding: 30px; border-radius: 10px; position: relative; }
.sem-card-tech::before { content: ''; position: absolute; top: -1px; right: -1px; width: 20px; height: 20px; border-top: 2px solid var(--neon-cyan); border-right: 2px solid var(--neon-cyan); }
.sem-header { font-family: 'Courier New', monospace; color: var(--neon-cyan); border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; margin-bottom: 20px; font-weight: bold; }
.kpi-grid { display: flex; gap: 20px; margin-bottom: 30px; }
.kpi-box { background: rgba(0, 77, 77, 0.3); border: 1px solid var(--petrol-medium); padding: 15px; border-radius: 8px; flex: 1; text-align: center; box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.05); transition: 0.3s; }
.kpi-box:hover { border-color: var(--neon-cyan); box-shadow: inset 0 0 30px rgba(0, 243, 255, 0.1); }
.kpi-label { display: block; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 5px; }
.kpi-value { display: block; font-size: 1.2rem; color: var(--neon-cyan); font-weight: bold; text-shadow: 0 0 10px rgba(0, 243, 255, 0.5); }

/* =========================================
   9. SEZIONI TECNICHE
   ========================================= */
.glass-section, .device-section, .automan-section, .cta-section { padding: 70px 8%; background: transparent; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; text-align: center; }

/* Box Liquid Glass */
.musigramma-card, .exp-card, .timeline-content, .method-card, .ai-content-box, .cta-box {
    background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 2px solid var(--glass-border); border-radius: 20px; box-shadow: var(--glass-shadow); transition: all 0.3s ease;
}
.musigramma-card:hover, .exp-card:hover, .method-card:hover {
    border-color: var(--neon-cyan); box-shadow: 0 25px 60px rgba(0,0,0,0.8), inset 0 0 40px rgba(0, 243, 255, 0.15), 0 0 20px rgba(0, 243, 255, 0.2); transform: translateY(-5px);
}
.ai-content-box { padding: 50px; text-align: center; }
.ai-content-box h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--text-light); }
.ai-desc { max-width: 800px; margin: 0 auto 50px; font-size: 1.1rem; color: var(--text-dim); }
.cyber-process-wrapper { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 40px; position: relative; }
.process-node { display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; width: 100px; }
.process-node span { font-size: 0.85rem; color: var(--neon-cyan); font-weight: bold; text-transform: uppercase; }
.holo-icon-small { width: 60px; height: 60px; background: rgba(0, 243, 255, 0.1); border: 1px solid var(--neon-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--text-light); box-shadow: 0 0 15px rgba(0, 243, 255, 0.2); transition: 0.3s; }
.process-node:hover .holo-icon-small { transform: scale(1.1); background: var(--neon-cyan); color: var(--bg-tech); box-shadow: 0 0 30px var(--neon-cyan); }
.process-line { flex: 1; height: 2px; background: rgba(0, 243, 255, 0.2); position: relative; margin: 0 10px; top: -15px; }
.data-flow { position: absolute; top: 0; left: 0; height: 100%; width: 30%; background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); animation: flowData 2s linear infinite; }
.delay-1 { animation-delay: 0.6s; } .delay-2 { animation-delay: 1.2s; }
@keyframes flowData { 0% { left: 0; width: 0; opacity: 1; } 50% { width: 30%; } 100% { left: 100%; width: 0; opacity: 0; } }

/* NEURAL BLUEPRINT */
.blueprint-section { padding: 80px 8%; position: relative; border-left: 1px solid rgba(0, 243, 255, 0.1); }
.blueprint-grid { display: grid; grid-template-columns: 80px 1fr; gap: 60px; }
.blueprint-sidebar { position: relative; display: flex; justify-content: center; }
.tech-line-vertical { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: linear-gradient(to bottom, var(--neon-cyan), transparent); box-shadow: 0 0 10px var(--neon-cyan); }
.vertical-text { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--neon-cyan); font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; font-family: 'Courier New', monospace; opacity: 0.8; white-space: nowrap; position: sticky; top: 150px; }
.blueprint-content { display: flex; flex-direction: column; gap: 80px; }
.blueprint-item { position: relative; padding-left: 20px; }
.tech-marker { font-family: 'Courier New', monospace; font-size: 4rem; font-weight: bold; color: rgba(255, 255, 255, 0.03); position: absolute; top: -30px; left: -30px; z-index: -1; pointer-events: none; }
.blueprint-headline { font-size: 2.2rem; color: var(--text-light); margin-bottom: 20px; line-height: 1.1; }
.blueprint-text-large { font-size: 1.15rem; color: var(--text-dim); max-width: 800px; line-height: 1.6; }
.highlight { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 243, 255, 0.3); }
.blueprint-subtitle { font-size: 1.4rem; color: var(--text-light); margin-bottom: 30px; border-bottom: 1px solid rgba(0, 243, 255, 0.2); display: inline-block; padding-bottom: 5px; }
.hud-list { display: flex; flex-direction: column; gap: 15px; }
.hud-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; border-left: 2px solid var(--petrol-medium); padding-left: 15px; transition: 0.3s; }
.hud-row:hover { border-left-color: var(--neon-cyan); background: linear-gradient(90deg, rgba(0,243,255,0.05), transparent); }
.hud-label { color: var(--neon-cyan); font-size: 0.8rem; font-weight: bold; letter-spacing: 1px; }
.hud-value { color: var(--text-dim); font-size: 0.95rem; }
.flow-steps { display: flex; align-items: center; gap: 20px; }
.step { text-align: center; flex: 1; background: rgba(255, 255, 255, 0.02); padding: 20px; border: 1px dashed rgba(0, 243, 255, 0.2); border-radius: 10px; transition: 0.3s; }
.step:hover { border-style: solid; border-color: var(--neon-cyan); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0, 243, 255, 0.1); }
.step i { font-size: 2rem; color: var(--neon-cyan); margin-bottom: 10px; }
.step h4 { color: var(--text-light); margin-bottom: 5px; font-size: 1rem; }
.step p { font-size: 0.8rem; color: var(--text-dim); margin: 0; }
.step-arrow { color: var(--petrol-medium); font-size: 1.5rem; }
.blueprint-quote { text-align: center; position: relative; padding: 40px; margin-top: 40px; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.quote-symbol { font-size: 4rem; color: var(--neon-cyan); opacity: 0.3; position: absolute; top: -10px; left: 10px; font-family: serif; }
.blueprint-quote p { font-size: 1.3rem; font-style: italic; color: var(--text-light); margin-bottom: 15px; line-height: 1.4; }
.quote-author { color: var(--neon-cyan); font-family: 'Courier New', monospace; font-size: 0.9rem; }

/* =========================================
   10. DEVICE 3D / MUSIGRAMMA
   ========================================= */
.musigramma-card { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 50px; align-items: center; }
.role-tag { color: var(--neon-cyan); font-weight: bold; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 15px; display: block; }
.features { list-style: none; margin: 25px 0; }
.features li { margin-bottom: 10px; color: var(--text-dim); }
.features li span { color: var(--neon-cyan); margin-right: 10px; }
.btn-neon-outline { display: inline-block; padding: 12px 30px; border: 2px solid var(--neon-cyan); color: var(--neon-cyan); text-decoration: none; border-radius: 5px; font-weight: bold; transition: 0.3s; box-shadow: 0 0 10px rgba(0,243,255,0.2); }
.btn-neon-outline:hover { background: var(--neon-cyan); color: var(--bg-tech); box-shadow: 0 0 30px var(--neon-cyan); }
.img-responsive { width: 100%; height: auto; border-radius: 15px; border: 2px solid rgba(0, 243, 255, 0.4); box-shadow: 0 0 30px rgba(0, 243, 255, 0.2); }

.expertise-grid, .method-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.exp-card, .method-card { padding: 40px 30px; text-align: center; }
.holo-container { position: relative; height: 100px; display: flex; justify-content: center; align-items: flex-end; margin-bottom: 20px; }
.holo-base { width: 70px; height: 15px; background: radial-gradient(circle, var(--neon-cyan) 0%, transparent 60%); border-radius: 50%; position: absolute; bottom: 0; opacity: 0.5; animation: basePulse 2s infinite alternate; box-shadow: 0 0 20px var(--neon-cyan); }
.holo-icon { font-size: 4.5rem; color: var(--neon-cyan); opacity: 0.9; animation: hologramFlicker 3s infinite; filter: drop-shadow(0 0 15px var(--neon-cyan)); }

.deep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tech-stack-mini span { font-size: 0.85rem; padding: 5px 15px; border: 1px solid var(--petrol-medium); border-radius: 20px; color: var(--neon-cyan); background: rgba(0, 77, 77, 0.2); display: inline-block; margin: 5px 5px 0 0; box-shadow: 0 0 10px rgba(0,243,255,0.1); }
.terminal-wrapper { background: #0d1117; border-radius: 10px; border: 2px solid rgba(0,243,255,0.3); overflow: hidden; font-family: 'Fira Code', monospace; min-height: 300px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.terminal-header { background: #161b22; padding: 10px; display: flex; align-items: center; border-bottom: 1px solid #30363d; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.terminal-body { padding: 20px; color: #e0f7f7; font-size: 0.9rem; line-height: 1.6; }
/* VS CODE COLORS */
.code-keyword { color: #ff7b72; } 
.code-class { color: #d2a8ff; } 
.code-string { color: #a5d6ff; } 
.code-comment { color: #8b949e; font-style: italic; }
.code-variable { color: #79c0ff; }
.code-punctuation { color: #e0f7f7; }
.code-operator { color: #ff7b72; }
.code-bool { color: #79c0ff; }
.cursor { color: var(--neon-cyan); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* DEVICE 3D STYLES - FIX ANIMAZIONE */
.device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.phygital-badge { display: inline-block; background: rgba(255, 189, 46, 0.1); color: #ffbd2e; border: 1px solid #ffbd2e; padding: 5px 15px; font-size: 0.7rem; font-weight: bold; border-radius: 4px; margin-bottom: 20px; box-shadow: 0 0 10px rgba(255, 189, 46, 0.2); }
.device-visual-wrapper { height: 400px; display: flex; justify-content: center; align-items: center; perspective: 1000px; position: relative; }
.scene { width: 300px; height: 300px; position: relative; transform-style: preserve-3d; }
.device-container { width: 100%; height: 100%; position: absolute; transform-style: preserve-3d; animation: slowSpin 20s linear infinite; top: 0; left: 0; }
@keyframes slowSpin { from { transform: rotateX(60deg) rotateZ(0deg); } to { transform: rotateX(60deg) rotateZ(360deg); } }
.base-plate { width: 300px; height: 300px; background: #000; border-radius: 50%; border: 3px solid var(--neon-cyan); box-shadow: inset 0 0 40px var(--neon-cyan), 0 0 20px rgba(0,243,255,0.3); transform: translateZ(0); position: absolute; top:0; left:0; right:0; bottom:0; margin:auto; }
.inner-ring { width: 200px; height: 200px; border-radius: 50%; border: 10px solid rgba(255, 189, 46, 0.3); transform: translateZ(5px); box-shadow: 0 0 20px rgba(255, 189, 46, 0.2); position: absolute; top:0; left:0; right:0; bottom:0; margin:auto; }
.core-knob { width: 60px; height: 60px; background: #222; border-radius: 50%; transform: translateZ(40px); border: 2px solid #ffbd2e; box-shadow: 0 0 20px rgba(255, 189, 46, 0.5); position: absolute; top:0; left:0; right:0; bottom:0; margin:auto; }
/* I "Pillars" (Cerchietti) */
.pillar { 
    width: 14px; 
    height: 14px; 
    background: var(--bg-tech); 
    border: 2px solid var(--neon-cyan); 
    border-radius: 50%; 
    box-shadow: 0 0 15px var(--neon-cyan); 
    position: absolute; 
    /* Centratura assoluta fondamentale per la logica di rotazione */
    top: 0; left: 0; right: 0; bottom: 0; 
    margin: auto; 
    /* Transform-style serve per mantenere il 3D */
    transform-style: preserve-3d; 
}
/* FIX SPAZIATURA TESTO MUSIGRAMMA */
.device-desc-fix { margin-bottom: 30px; font-size: 1.1rem; color: var(--text-dim); }
.device-features li { margin-bottom: 15px; color: var(--text-dim); }
.device-features i { color: var(--neon-cyan); margin-right: 8px; font-size: 1.3rem; text-shadow: 0 0 10px var(--neon-cyan); }

/* =========================================
   11. TIMELINE / TOOLS
   ========================================= */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 3px; background: var(--neon-cyan); top: 0; bottom: 0; left: 50%; transform: translateX(-50%); box-shadow: 0 0 20px var(--neon-cyan); }
.timeline-item { padding: 15px; position: relative; width: 50%; box-sizing: border-box; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; padding-right: 50px; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; padding-left: 50px; }
.timeline-content { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.timeline-content h3 { font-size: 1.1rem; line-height: 1.2; margin-bottom: 5px; color: var(--text-light); }
.timeline-content h4 { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; }
.timeline-content p { font-size: 0.85rem; line-height: 1.4; color: rgba(255, 255, 255, 0.8); margin: 0; }
.timeline-date { color: var(--neon-cyan); font-weight: bold; font-size: 0.9rem; margin-bottom: 5px; display: block; }
.timeline-item::after { content: ''; position: absolute; width: 16px; height: 16px; background: var(--bg-tech); border: 3px solid var(--neon-cyan); border-radius: 50%; top: 25px; box-shadow: 0 0 15px var(--neon-cyan); z-index: 10; }
.timeline-item:nth-child(odd)::after { right: -11px; } .timeline-item:nth-child(even)::after { left: -11px; }

.tools-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 50px; margin-top: 50px; }
.tool-item { display: flex; flex-direction: column; align-items: center; gap: 15px; opacity: 0.6; transition: 0.4s; }
.tool-item i { font-size: 3.5rem; color: var(--text-light); filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)); }
.tool-item span { font-size: 0.9rem; color: var(--text-dim); letter-spacing: 1px; }
.tool-item:hover { opacity: 1; transform: scale(1.15) translateY(-10px); }
.tool-item:hover i { color: var(--neon-cyan); filter: drop-shadow(0 0 25px var(--neon-cyan)); animation: hologramFlicker 2s infinite; }

/* SEPARATORI EXTRA */
.hacking-separator-container { width: 100%; padding: 30px 0; display: flex; justify-content: center; align-items: center; font-family: 'Courier New', monospace; background: rgba(0, 0, 0, 0.3); margin: 40px 0; border-top: 1px solid rgba(0, 243, 255, 0.1); border-bottom: 1px solid rgba(0, 243, 255, 0.1); }
.hacking-text { font-size: 1.1rem; color: var(--neon-cyan); text-shadow: 0 0 5px var(--neon-cyan); letter-spacing: 2px; }
.cursor { display: inline-block; width: 8px; height: 15px; background-color: var(--neon-cyan); animation: blinkCursor 1s infinite; margin-left: 5px; vertical-align: middle; }
@keyframes blinkCursor { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.lightning-separator-container { width: 100%; height: 40px; margin: 20px 0; overflow: hidden; position: relative; }
.lightning-svg { width: 100%; height: 100%; filter: drop-shadow(0 0 10px var(--neon-cyan)); }
.bolt-path { fill: none; stroke: var(--neon-cyan); stroke-width: 2px; stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: lightningStrike 4s linear infinite; }
@keyframes lightningStrike { 0% { stroke-dashoffset: 2000; opacity: 0; } 15% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.cta-box { width: 100%; max-width: 700px; margin: 0 auto; padding: 60px; text-align: center; display: flex; flex-direction: column; gap: 30px; align-items: center; }
.cta-box h2 { font-size: 2.2rem; margin: 0; }
.site-footer { background: #000; padding: 70px 0 30px; border-top: 3px solid var(--glass-border); margin-top: 60px; box-shadow: 0 -10px 30px rgba(0,243,255,0.1); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.profile-img-footer { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; border: 3px solid var(--neon-cyan); margin-bottom: 20px; box-shadow: 0 0 20px rgba(0,243,255,0.3); }
.profile-img-footer img { width: 100%; height: 100%; object-fit: cover; }
.footer-logo { font-size: 2rem; font-weight: bold; margin-bottom: 20px; }
.footer-logo span { color: var(--neon-cyan); text-shadow: 0 0 15px var(--neon-cyan); }
.footer-col h4 { color: var(--text-light); margin-bottom: 25px; font-size: 1.3rem; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: var(--text-dim); text-decoration: none; transition: 0.3s; font-size: 1.1rem; }
.footer-col ul li a:hover { color: var(--neon-cyan); padding-left: 10px; text-shadow: 0 0 10px var(--neon-cyan); }
.map-link { color: var(--text-dim); text-decoration: none; transition: 0.3s; }
.map-link:hover { color: var(--neon-cyan); text-shadow: 0 0 10px var(--neon-cyan); }
.social-icons { display: flex; gap: 20px; }
.social-icons a { width: 50px; height: 50px; background: rgba(255,255,255,0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: 0.3s; font-size: 1.5rem; border: 1px solid var(--glass-border); }
.social-icons a:hover { background: var(--neon-cyan); color: #000; box-shadow: 0 0 30px var(--neon-cyan); transform: translateY(-5px); }
.footer-bottom { text-align: center; margin-top: 60px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; font-size: 0.9rem; color: #888; }

/* =========================================
   12. RESPONSIVE MOBILE (AGGIORNATO CON FIX)
   ========================================= */
   @media (max-width: 900px) {
    
    /* --- TYPOGRAPHY & GENERAL --- */
    body {
        text-align: center; 
    }
    
    .container {
        width: 100%;
        padding: 0 20px;
    }

    h1, h2, h3, h4, h5, p {
        text-align: center !important; 
    }

    /* FIX 1: TESTO HYBRID CENTRATO */
    .hybrid-text, .hybrid-desc {
        text-align: center !important;
        width: 100%;
    }

    .hero-name-big { font-size: 2.2rem; line-height: 1.1; }
    .hero-headline { font-size: 1.5rem; }
    .section-title { font-size: 2rem; margin-bottom: 30px; }
    .hero { padding: 120px 5% 60px; }

    /* --- LAYOUT RESET --- */
    .hybrid-grid, 
    .radar-grid, 
    .sem-grid, 
    .ux-grid, 
    .blueprint-grid, 
    .device-grid, 
    .deep-grid, 
    .musigramma-card,
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    /* --- VISUAL FIRST --- */
    .ux-visual, 
    .card-visual, 
    .device-visual-wrapper, 
    .radar-core, 
    .terminal-wrapper {
        order: -1; 
        width: 100%;
        margin-bottom: 10px;
    }

    /* --- HYBRID SECTION --- */
    .hybrid-list-wrapper {
        border-left: none;
        border-top: 1px solid rgba(0, 243, 255, 0.2);
        padding-left: 0;
        padding-top: 40px;
    }
    .unlocked-list li {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .unlocked-list i { margin-bottom: 10px; }

    /* --- AI ORCHESTRATION (FIX ICONE SPAZIATE) --- */
    .ai-content-box {
        padding: 30px 15px; /* Un po' più di spazio interno */
    }
    .cyber-process-wrapper {
        flex-direction: column;
        gap: 0; /* Gestiamo lo spazio con i margini dei nodi */
    }
    .process-node {
        margin: 20px 0; /* Spazio sopra e sotto ogni icona */
        width: 100%;    /* Assicura che siano centrate */
    }
    /* Nascondiamo la linea orizzontale su mobile o la adattiamo */
    .process-line { 
        width: 2px; 
        height: 30px; /* Linea verticale corta tra le icone */
        margin: 0 auto; 
        top: 0;
    }
    .data-flow { 
        width: 100%; 
        height: 30%; 
        top: 0; 
        left: 0; 
        animation: flowDataVert 2s linear infinite; 
    }
    @keyframes flowDataVert { 0% { top: 0; height: 0; } 50% { height: 30%; } 100% { top: 100%; height: 0; } }


    /* --- MARKET INTELLIGENCE --- */
    .radar-node {
        text-align: center !important;
        border: 1px solid var(--petrol-medium);
        border-radius: 10px;
    }
    .radar-node h4 { justify-content: center; }
    .core-label { margin-top: 20px; }

    /* --- SEO & SEM --- */
    .seo-grid { grid-template-columns: 1fr; }
    .seo-card { align-items: center; } 
    .sem-methodology .method-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .sem-card-tech { text-align: center; }
    .kpi-grid { margin-top: 20px; }

    /* --- BLUEPRINT --- */
    .blueprint-sidebar { display: none; }
    .blueprint-section { border: none; padding: 60px 5%; }
    .flow-steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); margin: 10px 0; }
    .hud-row { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 5px;
        padding-bottom: 15px;
        border-left: none;
        border-bottom: 1px solid var(--petrol-medium);
    }

    /* --- DEVICE SECTION (FIX BULLET POINTS) --- */
    .device-visual-wrapper { height: 300px; }
    
    .device-features {
        list-style: none !important; /* VIA I PALLINI */
        padding-left: 0 !important;  /* VIA IL RIENTRO A SINISTRA */
        margin: 0 auto;
    }
    
    .device-features li {
        display: flex;
        flex-direction: column; /* Icona sopra, testo sotto */
        align-items: center;    /* Centrato orizzontalmente */
        text-align: center;
        margin-bottom: 25px;    /* Spazio tra le voci */
    }
    
    .device-features i {
        font-size: 2rem;       /* Icona un po' più grande su mobile */
        margin-bottom: 10px;
        margin-right: 0;       /* Resetta margine destro desktop */
    }

    /* --- TIMELINE --- */
    .timeline::after { left: 20px; }
    .timeline-item { 
        width: 100%; 
        padding-left: 50px; 
        padding-right: 10px; 
        text-align: left !important; 
    }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
        left: 0;
        text-align: left !important;
    }
    .timeline-item::after { left: 11px !important; right: auto !important; }
    .timeline-content h3, .timeline-content h4, .timeline-content p {
        text-align: left !important;
    }

    /* --- FOOTER --- */
    .site-footer { text-align: center; }
    .profile-img-footer { margin: 0 auto 20px; }
    .footer-col h4 {
        border-bottom: 1px solid var(--petrol-medium);
        padding-bottom: 10px;
        margin-bottom: 20px;
        display: inline-block;
    }
    .footer-col ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .footer-col ul li { margin-bottom: 15px; display: block; }
    .footer-col ul li a { display: block; padding: 5px 0; font-size: 1.1rem; }
    .social-icons { justify-content: center; margin-top: 10px; }
    
    /* --- CTA & TOOLS --- */
    .cta-box { padding: 40px 20px; width: 100%; }
    .cta-links, .btn-main { width: 100%; display: block; }
    .tools-grid { gap: 30px; }
    .tool-item { width: 40%; }
}