/* --- Global Styles --- */
body {
    font-family: 'Poppins', sans-serif;
}

.tech-icon {
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
}

.gradient-text {
    background: linear-gradient(90deg, #4F46E5, #14B8A6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.text-justify-js {
    text-align: justify;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" on, "liga" on, "clig" on;
    -webkit-font-feature-settings: "kern" on, "liga" on, "clig" on;
    word-spacing: 0.05em;
}

.main-prose {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.section-intro-text {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

/* --- Component: Architecture Cards --- */
.card-hover {
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #4F46E5;
}

/* --- Component: Brand --- */
.brand-nova-text {
    background: linear-gradient(to bottom, #EAEAEA 0%, #DCDCDC 20%, #C0C0C0 50%, #DCDCDC 80%, #EAEAEA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-stroke: none;
    text-stroke: none;
    text-shadow: none;
}

/* --- Component: Evolution Section --- */
.status-evolution {
    font-size: 1.1rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.progress-bar-evolution {
    width: 100%;
    max-width: 320px;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 9999px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill-evolution {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #4F46E5, #14B8A6, #4F46E5);
    background-size: 200% 100%;
    animation: loading-animation 2s linear infinite;
}

/* --- Component: Modal --- */
#modal-body ul {
    list-style-position: outside;
    padding-left: 1.5rem;
}

#modal-body li {
    margin-bottom: 1rem;
}

#modal-body strong {
    font-weight: 600;
    color: #1E293B;
}

.modal-overlay {
    transition: opacity 0.3s ease;
}

.modal-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Component: WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    z-index: 9999;
}

.whatsapp-float img {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.30));
    animation: icon-pulse 4.0s ease-in-out infinite;
}

/* --- Component: Footer --- */
.footer-link {
    color: #475569;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0F172A;
    font-weight: 500;
}

/* --- Layout: Presentation Section --- */
#more-text-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.7s ease-in-out;
}

/* --- Animations --- */
@keyframes icon-pulse {
    0% {
        transform: scale(1);
        opacity: 0.95;
    }

    50% {
        transform: scale(1.10);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.95;
    }
}

@keyframes loading-animation {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* --- Responsive Design --- */
@media (max-width: 767px) {
    #hero {
        padding-top: 4rem;
    }

    .main-prose,
    .section-intro-text {
        font-size: 1rem;
        line-height: 1.65;
    }

    #modal-body,
    #modal-body li,
    #modal-body p {
        font-size: 0.9rem;
    }

    .text-justify-js {
        letter-spacing: -0.050em;
    }
}

@media (max-width: 380px) {
    .text-justify-js {
        text-align: left;
    }
}