body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to bottom, #000428, rgb(105, 127, 255));
    overflow-x: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.binary-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
}

.binary-digit {
    position: absolute;
    top: 0;
    color: rgb(105, 127, 255);
    font-size: 15px;
    animation: fall linear forwards;
    z-index: 0;
    animation-name: fall;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes fall {
    to {
        transform: translateY(100dvh);
    }
}

.logo_titre {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.titre-principal {
    color: whitesmoke;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2rem;
    font-size: 30pt;
    font-weight: bolder;
    margin-top: 25px;
    z-index: 1;
}

.logo_titre-link {
    text-decoration: none;
    color: inherit;
    display: inline-block; 
    width: auto;
    max-width: none;
}

#icone {
    width: 60px;
    height: 60px;
    margin-left: 36px;
    margin-top: 25px;
    z-index: 1;
}

.connexion-button {
    font-family: 'Plus Jakarta Sans', sans-serif;

    position: absolute;
    top: 36px;
    right: 36px;
    padding: 10px 20px;
    background-color: rgb(105, 127, 255);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    text-decoration: none;
}

.connexion-button:hover {
    background-color: rgba(105, 127, 255, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.deconnexion-button {
    font-family: 'Plus Jakarta Sans', sans-serif;

    position: absolute;
    top: 36px;
    right: 36px;
    padding: 10px 20px;
    background-color: #ed4245;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
    text-decoration: none;
}

.deconnexion-button:hover {
    background-color: #ff4447;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.texte_description {
    position: relative;
    z-index: 2;
    color: whitesmoke;
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;

    font-size: 48pt;
    font-weight: bolder;
    margin-top: 80px;
    margin-bottom: 50px;
}

.columns-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 400px;
}

.glass-square {
    width: 400px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;

    text-align: center;
    transition: all 0.3s ease;
}

.icon-and-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.icon-and-title img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.icon-and-title h3 {
    margin: 0;
    font-size: 25px;
}

@media (max-width: 768px) {
    .columns-container {
        flex-direction: column;
        align-items: center;
    }

    .column {
        width: 100%;
        max-width: 360px;
    }
}

.glass-square:hover {
    background-color: rgba(105, 127, 255, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px) scale(1.02);
}

.footer {
    background-color: #0e0f11;
    color: whitesmoke;
    padding: 48px 0 32px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;

    z-index: 2;
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 48px;
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-brand {
    flex: 2;
    min-width: 320px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
}

.footer-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}

.footer-desc {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: #e0e0f0;
}

.footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: whitesmoke;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d1d1e0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgb(105, 127, 255);
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #888;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 32px;
        align-items: stretch;
    }

    .footer-col,
    .footer-brand {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .texte_description {
        font-size: 28pt;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .titre-principal {
        font-size: 22pt;
        margin-top: 20px;
    }

    .glass-square {
        width: 90%;
        height: auto;
        padding: 20px;
    }

    .column {
        width: 100%;
        max-width: 360px;
    }

    .footer-title {
        font-size: 18px;
    }

    .footer-description {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .logo_titre {
        flex-direction: row;
        align-items: center;
        margin-left: 10px;
        margin-top: 20px;
        gap: 8px;
    }

    #icone {
        width: 40px;
        height: 40px;
        margin: 0;
    }

    .titre-principal {
        font-size: 18pt;
        margin: 0;
    }

    .connexion-button {
        top: 20px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .deconnexion-button {
        top: 20px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-title,
    .footer-desc,
    .footer-heading,
    .footer-links {
        text-align: left;
    }

    .footer-bottom {
        text-align: center;
    }
}

.glass-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    max-width: 400px;
}

.glass-link:hover .glass-square {
    background-color: rgba(105, 127, 255, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px) scale(1.02);
}

@media (max-width: 768px) {
    .columns-container {
        padding: 0 16px;
        box-sizing: border-box;
    }

    .column {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .glass-link {
        width: 100%;
        max-width: 400px;
        display: block;
    }

    .glass-square {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}