    :root {
            --primary-purple: #663399;
            --light-purple: #9b59b6;
            --dark-purple: #4b2d73;
            --accent-purple: #8e44ad;
            --neutral-gray: #f5f5f5;
            --text-dark: #333333;
            --text-light: #ffffff;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            color: var(--text-dark);
            background-color: var(--neutral-gray);
        }

        header {
            background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
            color: var(--text-light);
            padding: 2rem 0;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .container {
            width: 85%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 0;
        }

        h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        h2 {
            color: var(--primary-purple);
            border-bottom: 1px solid var(--light-purple);
            padding-bottom: 0.5rem;
            margin-top: 2rem;
        }

        .tagline {
            font-size: 1.2rem;
            font-weight: 300;
            margin-bottom: 1.5rem;
        }

        .btn {
            display: inline-block;
            background-color: var(--accent-purple);
            color: var(--text-light);
            padding: 0.8rem 1.5rem;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s ease;
            font-weight: 600;
            margin: 0.5rem;
        }

        .btn:hover {
            background-color: var(--dark-purple);
            transform: translateY(-2px);
        }

        .card-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 1.5rem;
            margin-top: 2rem;
        }

        .card {
            flex: 1 1 300px;
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
        }

        .tool-list {
            columns: 2;
            margin: 1rem 0;
        }

        .tool-list li {
            margin-bottom: 0.5rem;
            list-style-type: none;
            position: relative;
            padding-left: 1.5rem;
        }

        .tool-list li:before {
            content: "➜";
            color: var(--accent-purple);
            position: absolute;
            left: 0;
        }

        .signature {
            margin: 2.859rem 0;
            border-top: 1px solid var(--light-purple);
            padding-top: 1rem;
        }

        footer {
            background-color: var(--dark-purple);
            color: var(--text-light);
            text-align: center;
            padding: 1.5rem 0;
        }

        /*MODERN-HEADER **************************/

        .modern-header {
            position: relative;
            background-color: rgba(82, 16, 112, 0.9);
            /* fallback */
            background: linear-gradient(135deg, #4a2478 0%, #2c1a47 100%);
            color: white;
            padding: 3rem 0 4rem 0;
            text-align: center;
            margin: 0 auto;
            z-index: 1;
            overflow: hidden;
        }

        .modern-header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('./bg.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.3;
            /*  trasparenza */
            z-index: 0;
            pointer-events: none;
        }

        .modern-header>* {
            position: relative;
            z-index: 1;
        }


        .header-content {
            max-width: 800px;
            margin: 0 auto;
        }


        .profile-avatar {
            width: 100px;
            height: 100px;
            margin: 0 auto 1.5rem;
            border-radius: 50%;
            overflow: hidden;
            border: 4px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        .profile-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        h1 {
            font-size: 3rem;
            font-weight: 700;
            margin: 0 0 0.5rem 0;
            line-height: 1.1;
        }

        .purple-text {
            color: #b76aff;
        }

        .profile-title {
            margin: 1.5rem 0;
        }

        .profile-title .name {
            font-size: 1.4rem;
            font-weight: 500;
            margin: 0 0 0.2rem 0;
            color: #fff;
        }

        .profile-title .position {
            font-size: 1rem;
            color: #beb8ff;
            margin: 0;
            font-weight: 400;
        }

        .tagline {
            font-size: 1.25rem;
            color: #d0ccff;
            max-width: 600px;
            margin: 0 auto 2rem;
            line-height: 1.5;
        }

        .cta-wrapper {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .modern-btn {
            padding: 1rem 2rem;

            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-block;
            min-width: 180px;
            text-align: center;
        }

        .modern-btn.primary {
            background: #8e44ad;
            color: white;
            box-shadow: 0 4px 15px rgba(142, 68, 173, 0.4);
        }

        .modern-btn.secondary {
            background: transparent;
            color: #d0ccff;
            border: 2px solid #8e44ad;
        }

        .modern-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(142, 68, 173, 0.5);
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 2.2rem;
            }

            .tagline {
                font-size: 1.1rem;
            }

            .modern-btn {
                padding: 0.8rem 1.5rem;
                min-width: 140px;
            }
        }

        /*DEV SKILLS ---------------------------*/


        .dev-skills-section {
            background: #1a1426;
            border: 1px solid #302245;
            padding: 2rem;
            margin: 2rem 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            border-radius: 6px;
        }

        .section-title {
            color: #b76aff;
            font-size: 1.3rem;
            margin-top: 0;
            margin-bottom: 1.5rem;
            font-weight: 600;
            border-bottom: 1px solid #302245;
            padding-bottom: 0.7rem;
        }

        .skills-columns {
            display: flex;
            gap: 40px;
        }

        .skills-column {
            flex: 1;
        }

        .column-title {
            color: #ffffff;
            font-size: 1rem;
            margin-bottom: 1rem;
            font-weight: 500;
        }

        .dotnet-icon {
            color: #512bd4;
            font-weight: 700;
        }

        .security-icon {
            color: #00bcd4;
        }

        .skills-list {
            list-style: none;
            padding-left: 0;
            margin: 0;
        }

        .skills-list li {
            color: #d8d4f2;
            padding: 0.35rem 0;
            position: relative;
            padding-left: 1.2rem;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .skills-list li::before {
            content: "→";
            color: #8e44ad;
            position: absolute;
            left: 0;
        }

        .fusion-statement {
            margin-top: 2rem;
            padding-top: 1rem;
            border-top: 1px solid #302245;
        }

        .fusion-statement p {
            color: #ffffff;
            margin: 0;
            font-size: 0.95rem;
        }

        .fusion-statement strong {
            color: #b76aff;
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .skills-columns {
                flex-direction: column;
                gap: 20px;
            }
        }

        /*PILOT EXPERIENCE -------------------------------------------*/

        section#pilot-experience {
            /* background: #f8f9ff;
    padding: 4rem 1rem;*/
            margin: 3rem 0;
            border-top: 1px solid #e6e8f5;
            border-bottom: 1px solid #e6e8f5;
        }

        section#pilot-experience h2 {
            text-align: center;
            color: #5e35b1;
            font-size: 1.7rem;
            margin-bottom: 3rem;
            font-weight: 500;
            letter-spacing: 0.03em;
        }

        section#pilot-experience .card-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.8rem;
            max-width: 1000px;
            margin: 0 auto;
        }

        section#pilot-experience .card {
            background: white;
            padding: 2rem;
            border-radius: 4px;
            box-shadow: 0 2px 12px rgba(94, 53, 177, 0.08);
            border-left: 3px solid #5e35b1;
            transition: transform 0.2s ease;
        }

        section#pilot-experience .card:hover {
            transform: translateY(-3px);
        }

        section#pilot-experience .card h3 {
            color: #1e88e5;
            font-size: 1.2rem;
            margin-bottom: 1.2rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 0.6rem;
        }

        section#pilot-experience .card h3::before {
            content: "✈";
            font-size: 1.1em;
            color: #5e35b1;
        }

        .card h3 {
            display: flex;
            align-items: center;
            gap: 10px;
            /* distanza tra icona e testo */
            font-size: 1.25rem;
            margin-bottom: 0.1rem;
        }

        .card h3 svg {
            width: 24px;
            height: 24px;
            color: #d92b9f;
            /* viola intenso, stile purple team */
            flex-shrink: 0;
        }

        section#pilot-experience .card p {
            color: #546e7a;
            line-height: 1.7;
            font-size: 0.95rem;
            margin-bottom: 0;
        }

        section#pilot-experience .tagline {
            text-align: center;
            font-style: italic;
            color: #5e35b1;
            margin-top: 3rem;
            font-size: 1.05rem;
            position: relative;
            padding: 0 2rem;
        }

        section#pilot-experience .tagline::before {
            content: "";
            display: block;
            width: 60px;
            height: 1px;
            background: #b0bec5;
            margin: 0 auto 1rem;
        }

        @media (max-width: 768px) {
            section#pilot-experience {
                padding: 3rem 1rem;
            }

            section#pilot-experience h2 {
                font-size: 1.4rem;
                margin-bottom: 2rem;
            }

            section#pilot-experience .card {
                padding: 1.5rem;
            }

            section#pilot-experience .tagline {
                padding: 0 1rem;
            }
        }


        /*ICON LUCIDA*/
        .icon {
            width: 20px;
            height: 20px;
            margin-right: 8px;
            vertical-align: middle;
        }

        /* Colori contestuali aggiornati */
        /* Colori contestuali – Luminosi e vibranti */
        .dotnet-icon {
            color: #c084fc;
            /* Light Violet - .NET */
        }

        .db-icon {
            color: #fb923c;
            /* Bright Orange - Databases */
        }

        .security-icon {
            color: #e100ff;
            /* Bright Pink - Security */
        }

        .iot-icon {
            color: #2dd4bf;
            /* Aqua - IoT & Devices */
        }

        .code-icon {
            color: #60a5fa;
            /* Sky Blue - Dev Tools */
        }

        .cloud-icon {
            color: #67e8f9;
            /* Light Cyan - Cloud & Architecture */
        }