/* ACTRAGEA Articles CSS - Estrai questo in file separato */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e0e6ed;
    background: linear-gradient(135deg, #0a0e13 0%, #1f2937 100%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(15px);
    padding: 20px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(20, 184, 166, 0.05) 50%,
            rgba(16, 185, 129, 0.1) 100%);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 10px 30px;
    border: 1px solid rgba(20, 184, 166, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

.logo-img {
    height: 120px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}



/* Back Button */
.back-navigation {
    padding-top: 120px;
    padding-bottom: 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateX(-3px);
}

/* Article Styles */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #9ca3af;
    font-size: 1rem;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-description {
    font-size: 1.2rem;
    color: #d1d5db;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.article-content {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    /* Anti-copy protection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

.article-content h1 {
    font-size: 2.5rem;
    color: #f9fafb;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content h2 {
    font-size: 2rem;
    color: #f9fafb;
    margin: 35px 0 20px 0;
    position: relative;
    padding-left: 20px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    border-radius: 3px;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #d1d5db;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #e0e6ed;
}

.article-content ul,
.article-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.article-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 8px;
    color: #e0e6ed;
}

.article-content blockquote {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid #3b82f6;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
    font-style: italic;
    color: #d1d5db;
}

.article-content code {
    background: rgba(0, 0, 0, 0.3);
    color: #10b981;
    padding: 3px 8px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.article-content pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.article-content th,
.article-content td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.article-content th {
    background: rgba(59, 130, 246, 0.2);
    font-weight: 600;
    color: #f9fafb;
}

.article-content img {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
    transition: all 0.3s ease;
}

.article-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.highlight-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.highlight-box h4 {
    color: #10b981;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}


        /* Footer */
        footer {
            background: rgba(10, 14, 19, 0.95);
            padding: 60px 0;
            text-align: center;
            border-top: 1px solid rgba(59, 130, 246, 0.3);
        }

        .footer-content {
            color: #9ca3af;
        }

        .footer-links {
            margin: 15px 0;
        }

        .footer-links a {
            color: #3b82f6;
            text-decoration: none;
            margin: 0 10px;
        }

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

        .footer-tagline {
            color: #3b82f6;
            font-weight: 600;
            margin-top: 15px;
            font-size: 1.1rem;
        }

/* Mobile Responsive */
@media (max-width: 768px) {
      

    .article-title {
        font-size: 2.2rem;
    }

    .article-content {
        padding: 30px 25px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }

    .back-navigation {
        padding-top: 100px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.8rem;
    }

    .article-content {
        padding: 25px 20px;
    }

    .article-content h1 {
        font-size: 2rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }
}
/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 183, 77, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.2) 0%, transparent 50%);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}
