/* Resetta CSS di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #eee;
    background: #0b0c10;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Colori principali */
:root {
    --primary-dark: #0b0c10;
    --accent-color: #00ffff; /* neon cyan */
    --accent-hover: #0ff;
    --light-bg: #1a1c20;
    --shadow-color: rgba(0, 255, 255, 0.3);
}

/* Header */
header {
    background: linear-gradient(90deg, #0f1115, #0b0c10);
    color: #fff;
    padding: 1rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    text-shadow: 0 0 2px var(--accent-color);
}

header nav a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

/* Hero Section */
#hero {
    background: url('https://source.unsplash.com/random/1600x900/?cybersecurity,network-code') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(11,12,16,0.8);
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
    text-shadow: 0 0 5px #00ffff;
}

/* Bottoni */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: 0.3s;
    box-shadow: 0 0 5px var(--accent-color), 0 0 15px var(--accent-color);
}

.primary-btn {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border: none;
}

.primary-btn:hover {
    background-color: #0ff;
    color: #0b0c10;
    box-shadow: 0 0 20px var(--accent-color), 0 0 40px var(--accent-color);
}

/* Sezioni */
.section-padding {
    padding: 80px 0;
}

.section-padding h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--accent-color);
    text-shadow: 0 0 5px var(--accent-color);
    position: relative;
}

.section-padding h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 5px var(--accent-color);
}

.bg-light {
    background-color: var(--light-bg);
}

/* Servizi */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-item {
    background: #111;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 calc(25% - 30px);
    min-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px var(--shadow-color);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px var(--accent-color), 0 0 40px var(--accent-color);
}

.service-item i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

/* Vulnerabilities */
.vulnerability-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    justify-content: center;
    gap: 15px;
    max-width: 1000px;
    margin: 30px auto 0;
}

.vulnerability-list li {
    background-color: #111;
    color: #0ff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 0 5px #00ffff;
    transition: 0.3s;
}

.vulnerability-list li:hover {
    background-color: #0ff;
    color: #111;
    box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
}

/* Certificazioni */
.certificates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.certificate-card {
    background: #111;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 calc(33% - 30px);
    min-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 0 10px var(--shadow-color);
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px var(--accent-color), 0 0 40px var(--accent-color);
}

.certificate-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

.certificate-card p {
    font-size: 1rem;
    color: #aaa;
}

/* Contatti */
#contact .contact-info {
    text-align: center;
    margin-bottom: 40px;
}

#contact .contact-info p {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #eee;
}

#contact .contact-info a {
    color: var(--accent-color);
    text-decoration: none;
}

#contact .contact-info a:hover {
    color: #0ff;
}

/* Footer */
footer {
    background: #0f1115;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #0ff;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsivo */
@media (max-width: 992px) {
    .service-item, .certificate-card {
        flex: 1 1 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    header nav {
        flex-direction: column;
    }
    header nav ul {
        margin: 15px 0;
    }
    .service-item, .certificate-card {
        flex: 1 1 100%;
    }
}
