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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #0d1b2a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.background-pattern {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-image: url('logobranco.png');
    background-repeat: repeat;
    background-size: 20px;
    opacity: 0.04;
    z-index: 0;
}

.wave-light {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(59, 130, 246, 0.3) 0%,
        rgba(59, 130, 246, 0.15) 20%,
        transparent 40%
    );
    animation: waveMove 8s ease-in-out infinite;
    z-index: 0;
    mix-blend-mode: screen;
}

@keyframes waveMove {
    0% {
        transform: translate(0%, 0%) rotate(0deg);
    }
    25% {
        transform: translate(30%, 20%) rotate(90deg);
    }
    50% {
        transform: translate(0%, 40%) rotate(180deg);
    }
    75% {
        transform: translate(-30%, 20%) rotate(270deg);
    }
    100% {
        transform: translate(0%, 0%) rotate(360deg);
    }
}

.container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo-container {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 100%;
    width: 400px;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.1));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(255, 255, 255, 0.2));
}

.content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

h1 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: left;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    position: relative;
    padding-bottom: 20px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.system-button {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    color: white;
    text-decoration: none;
    padding: 25px 30px;
    border-radius: 0;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(59, 130, 246, 0.6);
    backdrop-filter: blur(10px);
}

.system-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.system-button:hover::before {
    opacity: 1;
}

.system-button:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.6),
                0 0 40px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(37, 99, 235, 0.25) 100%);
    border-color: rgba(59, 130, 246, 1);
}

.system-button:active {
    transform: translateY(-1px);
}

.button-text {
    position: relative;
    z-index: 1;
}

.footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin: 0;
}

.labcoop-logo {
    height: 22px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.labcoop-logo:hover {
    opacity: 1;
}

@media (max-width: 1024px) {
    body {
        padding: 40px;
    }

    .container {
        flex-direction: column;
        gap: 40px;
    }

    .logo-container {
        flex: 0 0 auto;
    }

    .logo {
        width: 300px;
    }

    h1 {
        text-align: center;
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 30px;
    }

    h1 {
        font-size: 24px;
    }

    .logo {
        width: 250px;
    }

    .system-button {
        font-size: 18px;
        padding: 20px 25px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px;
    }

    h1 {
        font-size: 20px;
    }

    .logo {
        width: 200px;
    }

    .system-button {
        font-size: 16px;
        padding: 18px 20px;
    }
}
