/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:linear-gradient(-45deg,
        #020617,
        #0f172a,
        #111827,
        #1e293b);
    background-size:400% 400%;
    animation:bg 12s ease infinite;
    color:#ffffff;
}

@keyframes bg{
    0%{
        background-position:0% 50%;
    }
    50%{
        background-position:100% 50%;
    }
    100%{
        background-position:0% 50%;
    }
}

/* HERO */

.hero-section{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding:40px 0;
}

.hero-title{
    font-size:4rem;
    font-weight:700;
    margin-bottom:20px;
}

.hero-subtitle{
    color:#cbd5e1;
    font-size:1.1rem;
    margin-bottom:30px;
    max-width:500px;
}

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

.custom-btn{
    background:#38bdf8;
    color:#050816;
    padding:12px 30px;
    border:none;
    border-radius:10px;
    font-weight:600;
}

.custom-btn:hover{
    background:#0ea5e9;
    box-shadow:0 0 20px rgba(56,189,248,0.5);
}

.custom-outline-btn{
    border:2px solid #38bdf8;
    color:#38bdf8;
    padding:12px 30px;
    border-radius:10px;
}

.custom-outline-btn:hover{
    background:#38bdf8;
    color:#050816;
}

/* GLASS CARD */

.glass-card{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.1);
    padding:50px;
    border-radius:25px;
    backdrop-filter:blur(12px);
    box-shadow:0 0 40px rgba(56,189,248,0.2);
}

.icon-main{
    font-size:70px;
    margin-bottom:20px;
    color:#38bdf8;
}

/* AUTH */

.auth-container{
    display:flex;
    min-height:100vh;
    justify-content:center;
    align-items:center;
    padding:20px;
    background:#050816;
}

.auth-card{
    width:420px;
    padding:40px;
    border-radius:24px;
    backdrop-filter:blur(18px);
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.12);
    box-shadow:
        0 0 25px rgba(56,189,248,0.25),
        0 0 60px rgba(139,92,246,0.12);
}

.auth-title{
    text-align:center;
    margin-bottom:30px;
    font-weight:700;
    color:#ffffff;
}

.custom-input {
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.1);
    color:#ffffff;
    font-size:16px;
}

.custom-input::placeholder {
    color:#cbd5e1;
    opacity:1;
}

.custom-input:focus {
    background:rgba(255,255,255,0.08);
    color:#ffffff;
    border:1px solid #38bdf8;
    box-shadow:0 0 12px rgba(56,189,248,0.4);
}

.auth-btn{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    background:linear-gradient(
        90deg,
        #38bdf8,
        #8b5cf6
    );
    color:white;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
    font-size:16px;
}

.auth-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 0 20px rgba(56,189,248,0.5),
               0 0 40px rgba(139,92,246,0.3);
}

.auth-btn:active{
    transform:translateY(-1px);
}

.auth-links{
    text-align:center;
    margin-top:20px;
    color:#cbd5e1;
}

.auth-links a{
    color:#38bdf8;
    text-decoration:none;
}

.auth-links a:hover{
    color:#8b5cf6;
}

.password-box{
    position:relative;
}

.toggle-password{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    color:#38bdf8;
}

.toggle-password:hover{
    color:#8b5cf6;
}

/* FLOATING LABEL INPUTS */

.input-group{
    position:relative;
    margin-bottom:25px;
}

.input-group input{
    width:100%;
    padding:16px;
    background:#132544;
    border:none;
    outline:none;
    border-radius:12px;
    color:white;
    font-size:16px;
    transition:all 0.3s ease;
}

.input-group input:focus{
    background:#132544;
    border:2px solid #38bdf8;
    box-shadow:0 0 12px rgba(56,189,248,0.4);
}

.input-group label{
    position:absolute;
    left:16px;
    top:16px;
    color:#94a3b8;
    transition:0.3s;
    pointer-events:none;
}

.input-group input:focus + label,
.input-group input:valid + label{
    top:-10px;
    left:12px;
    font-size:13px;
    color:#38bdf8;
    background:#0f172a;
    padding:0 6px;
}

/* SPLIT LAYOUT */

.left-panel{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    background:linear-gradient(
        135deg,
        #0f172a,
        #111827,
        #1e293b
    );
    padding:40px 20px;
}

/* RESPONSIVE */

@media(max-width:900px){

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

    .left-panel{
        min-height:250px;
        width:100%;
    }

    .auth-card{
        width:90%;
        max-width:420px;
    }

}

@media(max-width:768px){

    .hero-title{
        font-size:2.8rem;
    }

    .hero-subtitle{
        font-size:1rem;
    }

    .glass-card{
        margin-top:40px;
        padding:30px;
    }

    .auth-card{
        padding:30px 20px;
        width:95%;
    }

    .input-group input{
        padding:14px;
        font-size:16px;
    }

}

@media(max-width:480px){

    .auth-card{
        width:100%;
        padding:20px;
        border-radius:16px;
    }

    .auth-title{
        font-size:1.5rem;
        margin-bottom:20px;
    }

    .input-group{
        margin-bottom:20px;
    }

    .auth-btn{
        padding:12px;
        font-size:14px;
    }

}