:root{
    --bg:#020617;
    --card:rgba(15,23,42,0.6);
    --border:rgba(255,255,255,0.08);
    --primary:#00c8ff;
    --primary-light:#7dd3fc;
    --text:#f8fafc;
    --muted:#94a3b8;
}

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

body{
    font-family:'Inter',sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
}

/* FUNDO FUTURISTA */

.bg-grid{
    position:fixed;
    inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size:60px 60px;
    z-index:-3;
    mask-image: radial-gradient(circle at center, black 30%, transparent 100%);
}

.bg-glow{
    position:fixed;
    width:600px;
    height:600px;
    border-radius:50%;
    filter:blur(120px);
    z-index:-2;
    opacity:0.18;
}

.glow-1{
    background:#00c8ff;
    top:-150px;
    left:-150px;
}

.glow-2{
    background:#7c3aed;
    bottom:-200px;
    right:-150px;
}

/* NAVBAR */

.navbar{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    width:90%;
    max-width:1400px;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 30px;

    background:rgba(15,23,42,0.45);

    border:1px solid var(--border);

    backdrop-filter:blur(30px);

    border-radius:24px;

    z-index:999;
}

.logo{
    font-size:1.4rem;
    font-weight:800;
}

.logo span{
    color:var(--primary);
}

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    color:var(--muted);
    text-decoration:none;
    transition:0.3s;
}

.nav-links a:hover{
    color:white;
}

.nav-btn{
    background:linear-gradient(135deg,var(--primary),#2563eb);
    padding:12px 24px;
    border-radius:14px;
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:0.4s;
}

.nav-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 0 30px rgba(0,200,255,0.4);
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:180px 8% 120px;
}

.hero-badge{
    background:rgba(0,200,255,0.08);
    border:1px solid rgba(0,200,255,0.2);
    padding:10px 22px;
    border-radius:100px;
    color:var(--primary-light);
    font-size:0.8rem;
    letter-spacing:2px;
    margin-bottom:30px;
    backdrop-filter:blur(10px);
}

.hero h1{
    font-size:clamp(3rem,9vw,7rem);
    line-height:0.95;
    letter-spacing:-4px;

    background:linear-gradient(to bottom,#fff,#6b7280);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero p{
    margin-top:30px;
    max-width:800px;
    color:var(--muted);
    font-size:1.2rem;
    line-height:1.8;
}

.hero-buttons{
    margin-top:50px;
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
    padding:18px 34px;
    border-radius:18px;
    text-decoration:none;
    font-weight:600;
    transition:0.4s;
}

.btn-primary{
    background:white;
    color:black;
}

.btn-primary:hover{
    transform:translateY(-5px);
    box-shadow:0 0 40px rgba(255,255,255,0.2);
}

.btn-secondary{
    border:1px solid rgba(255,255,255,0.1);
    color:white;
    background:rgba(255,255,255,0.03);
    backdrop-filter:blur(10px);
}

.btn-secondary:hover{
    border-color:rgba(0,200,255,0.5);
    box-shadow:0 0 30px rgba(0,200,255,0.15);
}

/* DASHBOARD */

.dashboard-preview{
    width:100%;
    max-width:1200px;
    margin-top:80px;

    background:rgba(15,23,42,0.6);

    border:1px solid rgba(255,255,255,0.08);

    border-radius:32px;

    overflow:hidden;

    backdrop-filter:blur(30px);

    box-shadow:
    0 0 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.window-bar{
    height:55px;
    border-bottom:1px solid rgba(255,255,255,0.05);
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 20px;
}

.window-bar span{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#334155;
}

.dashboard-content{
    display:flex;
    min-height:500px;
}

.sidebar{
    width:90px;
    border-right:1px solid rgba(255,255,255,0.05);
    padding:20px;
}

.side-item{
    width:50px;
    height:50px;
    border-radius:16px;
    background:rgba(255,255,255,0.04);
    margin-bottom:20px;
}

.side-item.active{
    background:linear-gradient(135deg,#00c8ff,#2563eb);
    box-shadow:0 0 30px rgba(0,200,255,0.4);
}

.cards{
    flex:1;
    padding:30px;
}

.large{
    height:180px;
    margin-bottom:25px;
}

.card{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.05);
    border-radius:28px;
    padding:30px;
    position:relative;
    overflow:hidden;
}

.card::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        130deg,
        transparent,
        rgba(255,255,255,0.08),
        transparent
    );
    transform:translateX(-100%);
}

.card:hover::before{
    transform:translateX(100%);
    transition:1s;
}

.mini-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.mini-grid .card{
    height:140px;
}

/* FEATURES */

.features{
    padding:120px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:80px;
}

.section-title span{
    color:var(--primary);
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:0.8rem;
}

.section-title h2{
    margin-top:20px;
    font-size:clamp(2rem,5vw,4rem);
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.feature-card{
    background:rgba(15,23,42,0.55);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:30px;
    padding:40px;
    backdrop-filter:blur(20px);

    transition:0.5s;
}

.feature-card:hover{
    transform:translateY(-12px);
    border-color:rgba(0,200,255,0.25);
    box-shadow:0 20px 50px rgba(0,0,0,0.4);
}

.icon{
    width:70px;
    height:70px;
    border-radius:22px;
    margin-bottom:25px;

    background:linear-gradient(135deg,#00c8ff,#2563eb);

    box-shadow:0 0 40px rgba(0,200,255,0.3);
}

.feature-card h3{
    font-size:1.6rem;
    margin-bottom:15px;
}

.feature-card p{
    color:var(--muted);
    line-height:1.8;
}

/* FOOTER */

.footer{
    padding:80px 20px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,0.05);
    color:var(--muted);
}

/* ANIMAÇÕES */

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:1s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

.floating{
    animation:floating 5s ease-in-out infinite;
}

@keyframes floating{
    0%{transform:translateY(0px);}
    50%{transform:translateY(-10px);}
    100%{transform:translateY(0px);}
}

.pulse{
    animation:pulse 3s infinite;
}

@keyframes pulse{
    0%{
        box-shadow:0 0 0 rgba(0,200,255,0);
    }
    50%{
        box-shadow:0 0 30px rgba(0,200,255,0.2);
    }
    100%{
        box-shadow:0 0 0 rgba(0,200,255,0);
    }
}

/* RESPONSIVO */

@media(max-width:900px){

    .nav-links{
        display:none;
    }

    .dashboard-content{
        flex-direction:column;
    }

    .sidebar{
        width:100%;
        display:flex;
        border-right:none;
        border-bottom:1px solid rgba(255,255,255,0.05);
    }

    .mini-grid{
        grid-template-columns:1fr;
    }

}
/* ADICIONE NO FINAL DO style.css */

/* LOGIN */

.login-body{
    min-height:100vh;
    overflow:hidden;
}

.login-container{
    display:flex;
    min-height:100vh;
}

.login-left{
    flex:1;
    padding:60px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    position:relative;
}

.login-content{
    max-width:600px;
}

.login-content h1{
    font-size:clamp(3rem,6vw,5rem);
    line-height:1;
    margin-top:30px;

    background:linear-gradient(to bottom,#fff,#64748b);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.login-content p{
    margin-top:30px;
    font-size:1.2rem;
    line-height:1.8;
    color:var(--muted);
}

.login-right{
    width:500px;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.login-card{
    width:100%;

    background:rgba(15,23,42,0.6);

    border:1px solid rgba(255,255,255,0.08);

    border-radius:32px;

    padding:50px;

    backdrop-filter:blur(30px);

    box-shadow:
    0 0 60px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.login-card h2{
    font-size:2rem;
}

.login-subtitle{
    margin-top:10px;
    color:var(--muted);
}

.input-group{
    margin-top:30px;
}

.input-group label{
    display:block;
    margin-bottom:10px;
    color:#cbd5e1;
    font-size:0.95rem;
}

.input-group input{
    width:100%;
    height:60px;

    background:rgba(255,255,255,0.04);

    border:1px solid rgba(255,255,255,0.08);

    border-radius:18px;

    padding:0 20px;

    color:white;

    font-size:1rem;

    outline:none;

    transition:0.3s;
}

.input-group input:focus{
    border-color:rgba(0,200,255,0.5);
    box-shadow:0 0 20px rgba(0,200,255,0.15);
}

.login-btn{
    width:100%;
    height:60px;

    margin-top:35px;

    border:none;

    border-radius:18px;

    background:linear-gradient(135deg,#00c8ff,#2563eb);

    color:white;

    font-size:1rem;
    font-weight:700;

    cursor:pointer;

    transition:0.4s;
}

.login-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 0 40px rgba(0,200,255,0.3);
}

.error-message{
    margin-top:20px;
    text-align:center;
    color:#ef4444;
    display:none;
}

/* PAINEL */

.dashboard-page{
    padding:160px 8% 80px;
}

.dashboard-header h1{
    font-size:4rem;
}

.dashboard-header p{
    color:var(--muted);
    margin-top:15px;
}

.dashboard-grid{
    margin-top:50px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;
}

.dashboard-box{
    background:rgba(15,23,42,0.6);

    border:1px solid rgba(255,255,255,0.08);

    border-radius:30px;

    padding:40px;

    backdrop-filter:blur(20px);

    transition:0.4s;
}

.dashboard-box:hover{
    transform:translateY(-10px);
    border-color:rgba(0,200,255,0.3);
    box-shadow:0 20px 40px rgba(0,0,0,0.4);
}

.dashboard-box h3{
    color:#94a3b8;
    margin-bottom:20px;
}

.dashboard-box span{
    font-size:3rem;
    font-weight:800;
}

/* RESPONSIVO */

@media(max-width:980px){

    .login-container{
        flex-direction:column;
    }

    .login-right{
        width:100%;
    }

    .login-left{
        padding-top:140px;
    }

}