* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4A3AFF;
    --primary-light: #7B6FFF;
    --secondary: #F59E0B;
    --g-pink: #EC4899;
    --g-green: #10B981;
    --border: #E4E1FF;
}

body {
    font-family: 'Sora',sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0D0B1F;
    overflow: hidden;
    position: relative;
}

/* ── animated mesh background ── */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: drift 12s ease-in-out infinite;
}

.orb1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,rgba(74,58,255,.6),transparent 70%);
    top: -120px;
    left: -100px;
    animation-delay: 0s;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,rgba(236,72,153,.45),transparent 70%);
    bottom: -80px;
    right: -80px;
    animation-delay: -4s;
}

.orb3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle,rgba(16,185,129,.35),transparent 70%);
    top: 40%;
    left: 55%;
    animation-delay: -8s;
}

.orb4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle,rgba(245,158,11,.3),transparent 70%);
    bottom: 10%;
    left: 15%;
    animation-delay: -2s;
}

@keyframes drift {
    0%,100% {
        transform: translate(0,0) scale(1);
    }

    33% {
        transform: translate(30px,-20px) scale(1.05);
    }

    66% {
        transform: translate(-20px,30px) scale(.97);
    }
}

/* subtle grid overlay */
.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 1;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
    background-size: 40px 40px;
}

/* ── card ── */
.wrap {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    padding: 20px;
}

.card {
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 28px;
    padding: 44px 44px 40px;
    box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.05) inset;
    animation: slideUp .5s cubic-bezier(.16,1,.3,1) both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* logo */
.logo-area {
    text-align: center;
    margin-bottom: 30px;
}

.logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 99px;
    padding: 8px 18px 8px 10px;
    margin-bottom: 20px;
}

.logo-img-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

    .logo-img-wrap img {
        height: 24px;
        width: auto;
        object-fit: contain;
    }

.logo-pill-text {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    letter-spacing: .3px;
}

.card-title {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.5px;
    margin-bottom: 4px;
}

.card-sub {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    font-weight: 400;
}

/* divider */
.divider {
    width: 48px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg,var(--primary),var(--g-pink));
    margin: 16px auto 28px;
}

/* form */
.form-group {
    margin-bottom: 16px;
}

.flabel {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 7px;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: rgba(255,255,255,.35);
    pointer-events: none;
}

.finput {
    width: 100%;
    padding: 13px 14px 13px 42px;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: 12px;
    font-family: 'Sora',sans-serif;
    font-size: 13.5px;
    color: #fff;
    outline: none;
    transition: border .2s,background .2s,box-shadow .2s;
}

    .finput::placeholder {
        color: rgba(255,255,255,.3);
    }

    .finput:focus {
        border-color: rgba(74,58,255,.7);
        background: rgba(74,58,255,.12);
        box-shadow: 0 0 0 4px rgba(74,58,255,.2);
    }
/* eye toggle */
.eye-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,.35);
    font-size: 16px;
    padding: 0;
    line-height: 1;
    transition: color .15s;
}

    .eye-toggle:hover {
        color: rgba(255,255,255,.7);
    }

/* checkbox row */
.check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 24px;
}

.check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12.5px;
    color: rgba(255,255,255,.55);
}

    .check-label input[type=checkbox] {
        width: 16px;
        height: 16px;
        accent-color: var(--primary);
        border-radius: 4px;
        cursor: pointer;
    }

.forgot {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-light);
    cursor: pointer;
    text-decoration: none;
}

    .forgot:hover {
        text-decoration: underline;
    }

/* proceed button */
.btn-proceed {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Sora',sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .2s,box-shadow .2s;
    box-shadow: 0 6px 24px rgba(74,58,255,.5);
}

    .btn-proceed::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg,rgba(255,255,255,.15),transparent);
        opacity: 0;
        transition: opacity .2s;
    }

    .btn-proceed:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 32px rgba(74,58,255,.6);
    }

        .btn-proceed:hover::before {
            opacity: 1;
        }

    .btn-proceed:active {
        transform: translateY(0);
    }

/* footer note */
.card-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 11.5px;
    color: rgba(255,255,255,.25);
}

    .card-footer span {
        color: rgba(255,255,255,.45);
        font-weight: 600;
    }

/* strength dots */
.strength-row {
    display: flex;
    gap: 4px;
    margin-top: 6px;
}

.sdot {
    height: 3px;
    flex: 1;
    border-radius: 2px;
    background: rgba(255,255,255,.1);
    transition: background .3s;
}

    .sdot.s1 {
        background: var(--g-pink);
    }

    .sdot.s2 {
        background: var(--secondary);
    }

    .sdot.s3, .sdot.s4 {
        background: var(--g-green);
    }

/* animated checkmark */
.success-screen {
    display: none;
    text-align: center;
    padding: 20px 0;
}

    .success-screen .sicon {
        font-size: 52px;
        margin-bottom: 12px;
        animation: pop .4s cubic-bezier(.36,.07,.19,.97);
    }

@keyframes pop {
    0% {
        transform: scale(0)
    }

    70% {
        transform: scale(1.2)
    }

    100% {
        transform: scale(1)
    }
}

.success-screen p {
    color: rgba(255,255,255,.7);
    font-size: 13px;
}
