*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#f6f8fc;
    color:#172033;
}

header{
    width:100%;

    background:#fff;

    border-bottom:1px solid #e7eaf0;

    padding:20px 7%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    position:sticky;

    top:0;

    z-index:1000;
}

.logo{
    font-size:22px;
    font-weight:800;
}

.logo span{
    color:#7c3aed;
}

nav{
    display:flex;
    gap:25px;
}

nav a{
    text-decoration:none;
    color:#475569;
    font-size:14px;
    font-weight:600;
}

nav a:hover{
    color:#7c3aed;
}

.container{
    width:min(1180px,90%);
    margin:auto;
}

.hero{
    margin-top:55px;

    padding:55px;

    border-radius:28px;

    background:
        radial-gradient(
            circle at top right,
            #ddd6fe,
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #fff,
            #f5f3ff
        );

    border:1px solid #e5e7eb;
}

.badge{
    display:inline-block;

    padding:8px 14px;

    background:#ede9fe;

    color:#6d28d9;

    border-radius:50px;

    font-size:12px;

    font-weight:800;

    letter-spacing:1px;
}

.hero h1{
    font-size:clamp(40px,6vw,70px);
    margin:20px 0 15px;
}

.hero p{
    max-width:700px;
    color:#64748b;
    font-size:18px;
    line-height:1.7;
}

.alert{
    margin-top:25px;
    padding:16px 20px;
    border-radius:12px;
    font-weight:600;
}

.alert.success{
    background:#dcfce7;
    color:#166534;
}

.alert.error{
    background:#fee2e2;
    color:#991b1b;
}

.auth-grid{
    display:grid;

    grid-template-columns:.8fr 1.2fr;

    gap:30px;

    margin:35px 0 70px;
}

.info-card,
.form-card{

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:24px;

    padding:35px;

    box-shadow:
        0 15px 45px
        rgba(15,23,42,.06);
}

.info-card{

    background:
        linear-gradient(
            145deg,
            #fff,
            #f8f7ff
        );
}

.small-title{

    color:#7c3aed;

    font-size:12px;

    font-weight:800;

    letter-spacing:2px;
}

.info-card h2,
.form-card h2{

    font-size:30px;

    margin:15px 0;
}

.info-card p{

    color:#64748b;

    line-height:1.7;
}

.features{

    margin-top:35px;

    display:grid;

    gap:14px;
}

.features div{

    display:flex;

    align-items:center;

    gap:15px;

    padding:15px;

    border-radius:14px;

    background:#f8fafc;
}

.features strong{

    width:40px;

    height:40px;

    display:grid;

    place-items:center;

    border-radius:12px;

    background:#ede9fe;

    color:#7c3aed;

    font-size:13px;
}

.features span{

    font-weight:600;

    color:#334155;
}

.subtitle{

    color:#64748b;

    margin-bottom:25px;
}

.form-group{

    margin-bottom:20px;
}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:700;

    color:#334155;
}

.form-group input{

    width:100%;

    padding:14px 16px;

    border:1px solid #dbe1ea;

    border-radius:12px;

    outline:none;

    font-family:inherit;

    font-size:15px;

    background:#fff;
}

.form-group input:focus{

    border-color:#8b5cf6;

    box-shadow:
        0 0 0 4px
        rgba(139,92,246,.1);
}

.submit-btn{

    width:100%;

    border:none;

    padding:16px;

    border-radius:13px;

    background:#7c3aed;

    color:#fff;

    font-size:15px;

    font-weight:800;

    cursor:pointer;

    display:flex;

    justify-content:center;

    gap:10px;

    transition:.25s;
}

.submit-btn:hover{

    background:#6d28d9;

    transform:translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(124,58,237,.25);
}

.register-link{

    margin-top:22px;

    text-align:center;

    color:#64748b;

    font-size:14px;
}

.register-link a{

    color:#7c3aed;

    font-weight:800;

    text-decoration:none;
}

footer{

    padding:30px;

    text-align:center;

    background:#fff;

    border-top:1px solid #e5e7eb;

    color:#64748b;
}

@media(max-width:850px){

    header{

        padding:17px 5%;

        flex-direction:column;

        gap:15px;
    }

    nav{

        gap:12px;

        flex-wrap:wrap;

        justify-content:center;
    }

    .hero{

        margin-top:30px;

        padding:35px 25px;
    }

    .auth-grid{

        grid-template-columns:1fr;
    }

}

@media(max-width:550px){

    .info-card,
    .form-card{

        padding:25px 20px;
    }

    .hero h1{

        font-size:42px;
    }

    .hero p{

        font-size:15px;
    }

}