@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Sarala&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

:root {
    --primary-color: #212B42;
    --secondary-color: #212B42;
    --accent-color: #5c7da5;
    --accent-cyan: #5c7da5;
    --text-primary: #5c7da5;
    --text-secondary: #add7ff;
    --text-light: #FFF2E7;
    --color-section: #1b2334;
    --text-nav: #add7ff;
    --bg-primary: #212B42;
    --bg-secondary: #212B42;
    --bg-dark: #FFF2E7;
    --bg-card: rgba(255, 255, 255, 0.95);
    --gradient-primary: linear-gradient(135deg, #212B42 0%, #212B42 100%);
    --gradient-secondary: linear-gradient(135deg, #212B42 0%, #212B42 100%);
    --gradient-tertiary: linear-gradient(135deg, #212B42 0%, #212B42 100%);
    --gradient-quartiary: linear-gradient(135deg, #91b4d5 0%, #add7ff 50%, #5C7DA5 100%);
    --gradient-elegant: linear-gradient(135deg, #212B42 0%, #212B42 50%, #212B42 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);


}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #212B42;
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 2.0rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav.scrolled {
    background: #1b2334;
    box-shadow: var(--shadow-lg);
    padding: 1.25rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
    line-height: 1.1;
    letter-spacing: -1px;
}

a {
    list-style: none;
    text-decoration: none;
}

.logo {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-quartiary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-nav);
    font-weight: 500;
    font-size: 1.10rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--text-light);
    transform: translateY(-1px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-quartiary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}




.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 25s ease-in-out infinite;
    opacity: 0.7;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation: floatShape1 20s ease-in-out infinite;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    background: rgba(255, 255, 255, 0.08);
    animation: floatShape2 25s ease-in-out infinite reverse;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 25%;
    background: rgba(255, 255, 255, 0.12);
    animation: floatShape3 18s ease-in-out infinite;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 20%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    animation: floatShape4 22s ease-in-out infinite;
}

.shape-5 {
    width: 40px;
    height: 40px;
    top: 15%;
    right: 40%;
    background: rgba(255, 255, 255, 0.15);
    animation: floatShape5 16s ease-in-out infinite reverse;
}

.shape-6 {
    width: 140px;
    height: 140px;
    bottom: 15%;
    right: 10%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 30px;
    animation: floatShape6 28s ease-in-out infinite;
}

@keyframes floatShape1 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg);
    }

    50% {
        transform: translateY(-15px) translateX(-10px) rotate(180deg);
    }

    75% {
        transform: translateY(-40px) translateX(15px) rotate(270deg);
    }
}

@keyframes floatShape2 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    33% {
        transform: translateY(25px) translateX(-20px) scale(1.1);
    }

    66% {
        transform: translateY(-20px) translateX(25px) scale(0.9);
    }
}

@keyframes floatShape3 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) translateX(-30px) rotate(180deg);
    }
}

@keyframes floatShape4 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateY(20px) translateX(-15px) rotate(45deg);
    }

    50% {
        transform: translateY(-10px) translateX(30px) rotate(90deg);
    }

    75% {
        transform: translateY(15px) translateX(-20px) rotate(135deg);
    }
}

@keyframes floatShape5 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }

    50% {
        transform: translateY(-35px) translateX(20px) scale(1.2);
    }
}

@keyframes floatShape6 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-15px) translateX(10px) rotate(60deg);
    }

    66% {
        transform: translateY(10px) translateX(-25px) rotate(120deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 0.8;
    }
}

.hero-content {
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    position: relative;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.8s forwards;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 1s forwards;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.login-container {
    width: 360px;
    padding: 25px;
    background: #212B42;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    margin-top: 5px;
    border-radius: 8px;
}

.btn {
    width: 100%;
    padding: 10px;
    background: #212B42;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
}

.btn:hover {
    background: #5C7DA5;
}

.erro {
    color: #d70000;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.links {
    width: 100%;
    padding: 10px;
    background: #212B42;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
}

.links:hover {
    background: #5C7DA5;

}

.links a {
    color: var(--gradient-quartiary);
    text-decoration: none;
}

.footer {
    background: linear-gradient(135deg, #212B42 0%, #1e293b 50%, #212B42 100%);
    color: var(--text-light);
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grid" width="12" height="12" patternUnits="userSpaceOnUse"><path d="M 12 0 L 0 0 0 12" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
    opacity: 0.4;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: absolute;
    z-index: 2;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-right {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-right a:hover {
    color: var(--text-light);
    transform: translateY(-1px);
}

.footer-right a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-right a:hover::after {
    width: 100%;
}