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

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: "Inter", sans-serif;
    color: #ffffff;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(52, 152, 219, 0.25),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(46, 204, 113, 0.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #06141f,
            #0b2535,
            #082c3d
        );

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

    position: relative;
}

/* ================================
   BACKGROUND
================================ */

.background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.15;
    animation: float 18s ease-in-out infinite alternate;
}

.shape-one {
    width: 500px;
    height: 500px;
    background: #1597d4;
    top: -250px;
    left: -180px;
}

.shape-two {
    width: 420px;
    height: 420px;
    background: #21c78a;
    bottom: -220px;
    right: -150px;
    animation-delay: -6s;
}

.shape-three {
    width: 260px;
    height: 260px;
    background: #5dade2;
    top: 45%;
    right: 15%;
    opacity: 0.08;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(35px, -25px) scale(1.04);
    }

    100% {
        transform: translate(-20px, 30px) scale(0.98);
    }
}

.background::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 30%,
            black 70%,
            transparent
        );
}

.line {
    position: absolute;
    height: 1px;
    width: 100%;
    left: 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent
        );
}

.line-top {
    top: 18%;
}

.line-bottom {
    bottom: 18%;
}

/* ================================
   MAIN CONTENT
================================ */

.container {
    width: min(680px, 92%);
    position: relative;
    z-index: 2;
    text-align: center;
}

.card {
    padding: 40px 44px 44px;

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

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

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 28px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.logo {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
}

/* ================================
   FOOTER
================================ */

.powered {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    opacity: 0.5;
    font-size: 11px;
    color: #ffffff;
}

.powered-logo {
    display: block;
    height: 26px;
    width: auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 14px;
    margin-bottom: 20px;

    border-radius: 50px;

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

    color: rgba(255, 255, 255, 0.8);

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;

    background: #48d597;

    box-shadow:
        0 0 12px rgba(72, 213, 151, 0.7);
}

h1 {
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.1;
    letter-spacing: -1.8px;
    font-weight: 800;
    margin-bottom: 18px;
}

h1 span {
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #9edcff
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.description {
    max-width: 520px;
    margin: 0 auto 28px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.6;
}

.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-width: 190px;
    padding: 16px 27px;

    border-radius: 13px;
    border: 0;

    background: #ffffff;
    color: #08202d;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    text-decoration: none;
    cursor: pointer;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.cta:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.28);

    background: #f4fbff;
}

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

.arrow {
    font-size: 19px;

    transition:
        transform 0.25s ease;
}

.cta:hover .arrow {
    transform: translateX(4px);
}

.note {
    margin-top: 25px;

    color: rgba(255, 255, 255, 0.45);

    font-size: 12px;
}

/* ================================
   MOBILE
================================ */

@media (max-width: 600px) {

    body {
        overflow: auto;
        flex-direction: column;
        padding: 24px 0;
    }

    .powered {
        position: static;
        margin-top: 24px;
    }

    .card {
        padding: 32px 22px;
        border-radius: 22px;
    }

    h1 {
        letter-spacing: -1.2px;
    }

    .logo {
        width: 160px;
    }

    .description {
        font-size: 15px;
        line-height: 1.6;
    }

    .cta {
        width: 100%;
    }

    .password-box {
        padding: 36px 25px;
    }
}

/* ================================
   REDUCED MOTION
================================ */

@media (prefers-reduced-motion: reduce) {

    .shape,
    .password-box {
        animation: none;
    }

    .cta,
    .password-overlay {
        transition: none;
    }
}
