/* --- SERVICES ARSENAL STYLES v6.0 (ZERO BLUR EDITION) --- */

:root {
    --neon-srv: #00f3ff;
    --bg-card: rgba(10, 12, 18, 0.7);
    --bg-card-hover: rgba(15, 20, 30, 0.95);
}

.services-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
    color: #fff;
    animation: fadePageIn 0.8s ease-out;
}
@keyframes fadePageIn { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform: translateY(0); } }

/* HEADER */
.page-header { text-align: center; margin-bottom: 80px; position: relative; }
.neon-title { 
    font-family: 'Rajdhani', sans-serif; font-size: 4rem; margin: 0; 
    letter-spacing: 6px; color: #ffffff; text-transform: uppercase;
    text-shadow: 0 0 30px rgba(0, 243, 255, 0.5); position: relative; display: inline-block;
}
.header-line { 
    width: 150px; height: 3px; background: var(--neon-srv); 
    margin: 20px auto; box-shadow: 0 0 25px var(--neon-srv);
    position: relative; overflow: hidden;
}
.header-line::after {
    content:''; position:absolute; top:0; left:-100%; width:100%; height:100%;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    animation: scanLine 3s infinite linear;
}
@keyframes scanLine { 0% { left:-100%; } 100% { left:100%; } }
.subtitle { color: #aaa; font-family: 'JetBrains Mono', monospace; font-size: 1rem; letter-spacing: 3px; text-transform: uppercase; }

/* GRIGLIA */
.arsenal-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; margin-bottom: 120px; 
}

/* --- CARD MODULO (STABLE & CRISP) --- */
.arsenal-card {
    background: var(--bg-card); 
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 16px; 
    padding: 35px 30px; 
    position: relative;
    overflow: hidden; 
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);

    /* Transizione solo su proprietà sicure che non sfocano il testo */
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

/* Decorazioni Angoli (Cyber Corners) */
.arsenal-card::before, .arsenal-card::after {
    content: ''; position: absolute; width: 20px; height: 20px;
    border: 2px solid var(--neon-srv); opacity: 0.5; transition: all 0.3s ease-out;
    box-shadow: 0 0 5px var(--neon-srv);
}
.arsenal-card::before { top: 0; left: 0; border-right: none; border-bottom: none; border-radius: 12px 0 0 0; }
.arsenal-card::after { bottom: 0; right: 0; border-left: none; border-top: none; border-radius: 0 0 12px 0; }

/* --- NUOVO EFFETTO HOVER (SENZA MOVIMENTO/SCALE) --- */
.arsenal-card:hover {
    border-color: var(--neon-srv); 
    background: var(--bg-card-hover);
    /* Bagliore intenso esterno */
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.4);
}

/* Gli angoli si espandono e si illuminano */
.arsenal-card:hover::before, .arsenal-card:hover::after {
    width: 40px; height: 40px; /* Espansione */
    opacity: 1;
    box-shadow: 0 0 20px var(--neon-srv); /* Bagliore forte */
}

/* L'icona si "carica" di energia */
.arsenal-card:hover .card-icon {
    background: var(--neon-srv); /* Diventa piena */
    color: #000; /* Icona nera su sfondo neon */
    box-shadow: 0 0 30px var(--neon-srv);
    transform: scale(1.1); /* Solo l'icona scala, non il testo */
}

/* CONTENUTO */
.card-top {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px; font-family: 'JetBrains Mono'; font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px;
}
.mod-id { color: var(--neon-srv); letter-spacing: 1px; }
.mod-status { color: #000; background: var(--neon-srv); padding: 3px 8px; border-radius: 4px; font-weight: 800; font-size: 0.7rem; box-shadow: 0 0 10px var(--neon-srv); }

.card-icon {
    width: 70px; height: 70px; background: rgba(0, 243, 255, 0.05);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px; color: var(--neon-srv);
    border: 1px solid rgba(0, 243, 255, 0.3); transition: 0.3s;
}
.card-icon svg { width: 35px; height: 35px; }

/* TITOLI E TESTI (Sempre nitidi) */
.arsenal-card h3 {
    margin: 0 0 15px 0; font-family: 'Rajdhani'; font-size: 1.8rem; text-transform: uppercase;
    color: #ffffff; font-weight: 800; letter-spacing: 1px;
}
.arsenal-card p { 
    color: #cccccc; font-size: 1rem; line-height: 1.6; margin-bottom: 25px; min-height: 80px;
}

.tech-specs { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.tech-specs li { font-size: 0.9rem; color: #dddddd; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.tech-specs li span { color: var(--neon-srv); font-size: 0.8rem; text-shadow: 0 0 8px var(--neon-srv); }

/* PIPELINE */
.process-section { text-align: center; margin-bottom: 100px; position: relative; }
.section-title { font-family: 'Rajdhani'; font-size: 2.5rem; margin-bottom: 60px; color: white; text-transform: uppercase; letter-spacing: 4px; }
.pipeline-track { display: flex; align-items: center; justify-content: center; max-width: 900px; margin: 0 auto; position: relative; }

.pipe-step { position: relative; z-index: 2; transition: 0.3s; height: 60px; display: flex; align-items: center; }
.pipe-step:hover { transform: scale(1.1); }
.pipe-circle {
    width: 60px; height: 60px; background: #0a0c12; border: 3px solid var(--neon-srv);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-family: 'Rajdhani'; font-weight: 800; font-size: 1.5rem;
    color: var(--neon-srv); box-shadow: 0 0 25px rgba(0,243,255,0.3); position: relative; flex-shrink: 0;
}
.pipe-circle::after {
    content:''; position:absolute; top:50%; left:50%; width:100%; height:100%;
    border-radius: 50%; border: 1px solid var(--neon-srv);
    transform: translate(-50%, -50%) scale(1); opacity: 0; animation: circlePulse 2s infinite;
}
.pipe-label {
    position: absolute; top: 75px; left: 50%; transform: translateX(-50%);
    font-family: 'JetBrains Mono'; font-size: 0.9rem; white-space: nowrap;
    color: var(--neon-srv); letter-spacing: 2px; font-weight: bold; text-shadow: 0 0 10px var(--neon-srv);
}
.pipe-line {
    flex: 1; height: 4px; background: rgba(0, 243, 255, 0.1); position: relative; margin: 0 5px; overflow: hidden; border-radius: 4px;
}
.pipe-line::after {
    content:''; position: absolute; top:0; left:0; height:100%; width:100%;
    background: repeating-linear-gradient(90deg, var(--neon-srv) 0%, var(--neon-srv) 10%, transparent 10%, transparent 20%);
    background-size: 200% auto; animation: dataFlow 3s infinite linear; opacity: 0.7;
}

/* TECH STRIP */
.tech-strip {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    margin-bottom: 100px; padding: 20px;
    background: rgba(0, 243, 255, 0.05);
    border-top: 1px solid var(--neon-srv); border-bottom: 1px solid var(--neon-srv);
    font-family: 'JetBrains Mono'; font-size: 0.9rem;
}
.tech-label { color: var(--neon-srv); font-weight: bold; margin-right: 20px; }
.tech-list { display: flex; gap: 30px; color: #aaa; flex-wrap: wrap; justify-content: center; }
.tech-list span { position: relative; }
.tech-list span::before { content:'•'; color: var(--neon-srv); margin-right: 10px; }

/* CTA */
.service-cta { text-align: center; margin-top: 100px; }
.cyber-btn-large {
    display: inline-block; padding: 25px 80px; background: rgba(0, 243, 255, 0.05);
    border: 2px solid var(--neon-srv); color: var(--neon-srv); font-family: 'Rajdhani'; font-weight: 800; font-size: 1.5rem; text-decoration: none; text-transform: uppercase; letter-spacing: 4px; transition: 0.4s; position: relative; overflow: hidden; box-shadow: 0 0 20px rgba(0, 243, 255, 0.1); clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}
.cyber-btn-large:hover { background: var(--neon-srv); color: #000; box-shadow: 0 0 60px var(--neon-srv), 0 0 10px #fff inset; transform: scale(1.05); }

@keyframes dataFlow { 0% { background-position: 0% center; } 100% { background-position: -200% center; } }
@keyframes circlePulse { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }

@media (max-width: 768px) {
    .neon-title { font-size: 2.5rem; letter-spacing: 2px; }
    .pipeline-track { flex-direction: column; gap: 50px; }
    .pipe-line { width: 4px; height: 50px; margin: 0; top: 0; }
    .pipe-step { height: auto; display: flex; flex-direction: column; align-items: center; }
    .pipe-label { position: relative; top: 0; left: 0; transform: none; margin-top: 15px; }
    .tech-strip { flex-direction: column; gap: 10px; text-align: center; }
}