* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Segoe UI", sans-serif;
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
    background: #07111f;
}
/* =========================
   BACKGROUND
========================= */
.background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    background:
        radial-gradient(
            circle at top left,
            #123d69,
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            #241451,
            transparent 40%
        ),
        #07111f;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.6;
    animation: float 8s ease-in-out infinite;
}
.orb1 {
    width: 250px;
    height: 250px;
    background: #1687ff;
    top: -80px;
    left: -70px;
}
.orb2 {
    width: 220px;
    height: 220px;
    background: #8a35ff;
    right: -60px;
    top: 30%;
    animation-delay: 2s;
}
.orb3 {
    width: 180px;
    height: 180px;
    background: #00c6a7;
    bottom: -50px;
    left: 35%;
    animation-delay: 4s;
}
@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, -30px);
    }
}
/* Grid */
.grid {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        linear-gradient(#fff 1px, transparent 1px),
        linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 50px 50px;
}
/* =========================
   MAIN CONTAINER
========================= */
.container {
    width: min(1100px, 92%);
    min-height: 100vh;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 80px;
    padding: 40px 0;
}
/* =========================
   LEFT SIDE
========================= */
.welcome-section {
    animation: slideLeft 1s ease;
}
.logo {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(15px);
    margin-bottom: 30px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.2);
}
.logo span {
    font-size: 22px;
    font-weight: bold;
    color: #55aaff;
}
.small-title {
    color: #8ba8c8;
    letter-spacing: 4px;
    font-size: 13px;
    margin-bottom: 8px;
}
.welcome-section h1 {
    font-size: clamp(50px, 7vw, 90px);
    line-height: 1;
    letter-spacing: -4px;
    margin-bottom: 25px;
}
.welcome-section h1 span {
    color: #4da3ff;
}
.description {
    color: #a9bdd4;
    max-width: 480px;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 40px;
}
/* Features */
.features {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: 0.3s;
}
.feature:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}
.feature i {
    color: #58aaff;
    font-size: 18px;
}
.feature h3 {
    font-size: 13px;
}
.feature p {
    color: #7890a8;
    font-size: 10px;
    margin-top: 3px;
}
/* =========================
   AUTH CARD
========================= */
.auth-card {
    padding: 30px;
    border-radius: 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(25px);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.4);
    animation: slideUp 1s ease;
}
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.hello {
    color: #8ca8c5;
    font-size: 13px;
    margin-bottom: 5px;
}
.card-top h2 {
    font-size: 28px;
}
.lock {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: rgba(77,163,255,0.15);
    color: #55aaff;
}
/* =========================
   TOGGLE
=========================*/
.toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px;
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    margin-bottom: 25px;
}
.toggle button {
    border: none;
    background: transparent;
    color: #8195aa;
    padding: 10px;
    border-radius: 9px;
    cursor: pointer;
    transition: 0.3s;
}
.toggle button.active {
    background: #3c91f5;
    color: white;
    box-shadow: 0 5px 15px rgba(60,145,245,0.3);
}
/* =========================
   INPUT
========================= */
.input-box {
    position: relative;
    margin-bottom: 15px;
}
.input-box > i:first-child {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6f879e;
}
.input-box input {
    width: 100%;
    padding: 15px 45px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 13px;
    outline: none;
    background: rgba(0,0,0,0.18);
    color: white;
    font-size: 13px;
    transition: 0.3s;
}
.input-box input::placeholder {
    color: #6f8296;
}
.input-box input:focus {
    border-color: #4ca3ff;
    box-shadow:
        0 0 0 3px rgba(76,163,255,0.1);
}
.password-eye {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #71879c;
    cursor: pointer;
}
/* =========================
   OPTIONS
========================= */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #8196ab;
    margin: 10px 0 20px;
}
.options a {
    color: #5daaff;
    text-decoration: none;
}
.options label {
    display: flex;
    gap: 5px;
    align-items: center;
}
/* =========================
   MAIN BUTTON
========================= */
.main-btn {
    width: 100%;
    border: none;
    padding: 15px;
    border-radius: 13px;
    background: linear-gradient(
        135deg,
        #328df0,
        #7165ff
    );
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow:
        0 10px 25px rgba(55,130,240,0.25);
}
.main-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 30px rgba(55,130,240,0.4);
}
.strength {
    margin: -5px 0 15px;
}
.strength-bars {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}
.strength-bars span {
    height: 3px;
    flex: 1;
    border-radius: 5px;
    background: #273746;
    transition: 0.3s;
}
.strength small {
    color: #71879b;
    font-size: 10px;
}
.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    color: #63798e;
    font-size: 10px;
}
.divider::before,
.divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255,255,255,0.1);
}
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.social-buttons button {
    padding: 11px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 11px;
    background: rgba(255,255,255,0.04);
    color: #c4d1df;
    cursor: pointer;
    transition: 0.3s;
}
.social-buttons button:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.social-buttons i {
    margin-right: 5px;
}
.bottom-text {
    text-align: center;
    color: #71869a;
    font-size: 11px;
    margin-top: 22px;
}
.bottom-text button {
    border: none;
    background: none;
    color: #54a7ff;
    cursor: pointer;
    font-weight: bold;
}
.hidden {
    display: none;
}
@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 850px) {
    .container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 50px 0;
    }
    .welcome-section {
        text-align: center;
    }
    .logo {
        margin: auto auto 25px;
    }
    .description {
        margin: auto auto 30px;
    }
    .features {
        justify-content: center;
    }
    .welcome-section h1 {
        font-size: 55px;
    }
}
@media (max-width: 480px) {
    .auth-card {
        padding: 22px;
        border-radius: 22px;
    }
    .features {

        display: none;
    }
}