* {
    box-sizing: border-box;
}

:root {
    --login-bg: #080326;
    --login-primary: #7d5cff;
    --login-primary-2: #a865ff;
    --login-blue: #5ab8ff;
    --login-rose: #ff5f7a;
    --login-text: #ffffff;
    --login-muted: rgba(255, 255, 255, 0.68);
    --login-border: rgba(255, 255, 255, 0.14);
    --login-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(125, 92, 255, 0.34), transparent 30%),
        radial-gradient(circle at top right, rgba(90, 184, 255, 0.24), transparent 32%),
        radial-gradient(circle at bottom right, rgba(255, 95, 122, 0.16), transparent 34%),
        linear-gradient(145deg, #080326 0%, #14084b 52%, #07152f 100%);
    color: var(--login-text);
    overflow-x: hidden;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.login-page::after {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 999px;
    right: -260px;
    bottom: -320px;
    background: radial-gradient(circle, rgba(90, 184, 255, 0.16), transparent 68%);
    pointer-events: none;
}

.login-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(1px);
    opacity: 0.78;
    animation: loginFloat 10s ease-in-out infinite;
}

.login-orb-one {
    width: 120px;
    height: 120px;
    top: 8%;
    left: 8%;
    background: radial-gradient(circle, rgba(125, 92, 255, 0.30), transparent 70%);
}

.login-orb-two {
    width: 88px;
    height: 88px;
    right: 12%;
    top: 20%;
    background: radial-gradient(circle, rgba(90, 184, 255, 0.24), transparent 70%);
    animation-delay: -3s;
}

.login-orb-three {
    width: 150px;
    height: 150px;
    left: 15%;
    bottom: 10%;
    background: radial-gradient(circle, rgba(255, 95, 122, 0.16), transparent 72%);
    animation-delay: -6s;
}

.login-shell {
    width: min(100%, 1040px);
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.82fr);
    position: relative;
    z-index: 2;
    border-radius: 34px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045)),
        rgba(10, 6, 38, 0.62);
    border: 1px solid var(--login-border);
    box-shadow: var(--login-shadow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.login-showcase {
    position: relative;
    min-height: 640px;
    padding: 42px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 26%, rgba(90, 184, 255, 0.36), transparent 18%),
        radial-gradient(circle at 72% 18%, rgba(168, 101, 255, 0.34), transparent 23%),
        radial-gradient(circle at 18% 70%, rgba(255, 95, 122, 0.22), transparent 22%),
        linear-gradient(145deg, rgba(8, 3, 38, 0.94), rgba(20, 8, 75, 0.82));
}

.login-showcase::before,
.login-showcase::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.login-showcase::before {
    width: 540px;
    height: 540px;
    right: -210px;
    top: -155px;
    border-radius: 42% 58% 55% 45%;
    background: linear-gradient(135deg, rgba(125, 92, 255, 0.42), rgba(255, 95, 122, 0.16));
}

.login-showcase::after {
    width: 380px;
    height: 380px;
    left: -165px;
    bottom: -120px;
    border-radius: 58% 42% 45% 55%;
    background: linear-gradient(135deg, rgba(90, 184, 255, 0.30), rgba(125, 92, 255, 0.36));
}

.showcase-glass-card,
.showcase-info-card,
.showcase-footer {
    position: relative;
    z-index: 1;
}

.showcase-glass-card {
    width: 100%;
    max-width: 440px;
    padding: 30px;
    margin-bottom: 2rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.showcase-logo-wrap {
    width: 240px;
    min-height: 170px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.showcase-logo-wrap img {
    max-width: 240px;
    max-height: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    drop-shadow(0 24px 40px rgba(0, 0, 0, 0.30))
    drop-shadow(0 0 30px rgba(125, 92, 255, 0.25));
}

.showcase-kicker,
.login-card-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: #dfe8ff;
    background: rgba(125, 92, 255, 0.18);
    border: 1px solid rgba(125, 92, 255, 0.28);
    font-size: 0.72rem;
    font-weight: 760;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.login-card-kicker {
    gap: 7px;
}

.login-card-kicker i {
    font-style: normal;
    font-size: 0.82rem;
    line-height: 1;
}

.showcase-glass-card h1 {
    margin: 0;
    font-size: clamp(2.05rem, 4vw, 3rem);
    font-weight: 760;
    letter-spacing: -0.055em;
    color: #fff;
}

.showcase-glass-card h2 {
    margin: 8px 0 0;
    color: #b8c7ff;
    font-size: 1rem;
    font-weight: 680;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.showcase-glass-card p {
    max-width: 330px;
    margin: 15px 0 0;
    color: rgba(255, 255, 255, 0.70);
    font-size: 0.9rem;
    line-height: 1.62;
    font-weight: 400;
}

.showcase-info-card {
    width: 100%;
    max-width: 440px;
    margin-top: 30px;
    margin-bottom: 38px;
    padding: 20px;
    border-radius: 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.075);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.showcase-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dfe8ff;
    background: rgba(125, 92, 255, 0.22);
    border: 1px solid rgba(125, 92, 255, 0.30);
    box-shadow: 0 12px 26px rgba(125, 92, 255, 0.18);
    font-size: 1.15rem;
}

.showcase-info-card span {
    display: block;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 720;
    margin-bottom: 6px;
}

.showcase-info-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 400;
}

/*.showcase-footer {
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}*/

.showcase-footer {
    width: 100%;
    max-width: 440px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
    text-align: center;

    gap: 8px;
}

.showcase-footer span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 720;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

/*.developer-logo {
    min-width: 178px;
    max-width: 230px;
    min-height: 62px;
    display: flex;
    align-items: center;
}*/

.developer-logo {
    min-width: 240px;
    max-width: 320px;
    min-height: 90px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.developer-logo img {
    max-width: 320px;
    max-height: 95px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.20));
}

.login-card {
    min-height: 640px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
    color: #172033;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -160px;
    top: -150px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(125, 92, 255, 0.16), transparent 68%);
    pointer-events: none;
}

.login-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -150px;
    bottom: -140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(90, 184, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.login-card-header,
.login-form,
.login-alert,
.login-mobile-footer {
    position: relative;
    z-index: 1;
}

.login-card-header {
    margin-bottom: 28px;
}

.login-card-kicker {
    color: #6d4cff;
    background: rgba(125, 92, 255, 0.10);
    border-color: rgba(125, 92, 255, 0.16);
}

.login-card-header h3 {
    margin: 0;
    color: #172033;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    font-weight: 760;
    letter-spacing: -0.045em;
}

.login-card-header p {
    margin: 10px 0 0;
    color: #697389;
    font-size: 0.95rem;
    line-height: 1.65;
    font-weight: 400;
}

.login-alert {
    border-radius: 18px;
    font-size: 0.9rem;
}

.form-label {
    color: #475067;
    font-weight: 680;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.login-input-wrap {
    position: relative;
}

.login-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6d4cff;
    background: rgba(125, 92, 255, 0.10);
    border: 1px solid rgba(125, 92, 255, 0.14);
    font-size: 0.88rem;
    font-weight: 760;
    pointer-events: none;
}

.form-control {
    min-height: 52px;
    border-radius: 18px;
    padding-left: 54px;
    border: 1px solid rgba(126, 136, 170, 0.18);
    background: rgba(255, 255, 255, 0.82);
    color: #172033;
    font-weight: 480;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 14px 28px rgba(34, 42, 75, 0.06);
}

.form-control.password-control {
    padding-right: 54px;
}

.form-control:focus {
    background: #fff;
    color: #172033;
    border-color: rgba(125, 92, 255, 0.42);
    box-shadow:
        0 0 0 0.25rem rgba(125, 92, 255, 0.12),
        0 16px 30px rgba(34, 42, 75, 0.08);
}

.form-control::placeholder {
    color: #9aa4b6;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6d4cff;
    background: rgba(125, 92, 255, 0.10);
    cursor: pointer;
    transition: all 0.24s ease;
}

.password-toggle:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--login-primary), var(--login-blue));
    transform: translateY(-50%) scale(1.03);
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.is-visible .eye-open {
    display: none;
}

.password-toggle.is-visible .eye-closed {
    display: inline;
}

.btn-login {
    min-height: 54px;
    border-radius: 18px;
    border: 0;
    color: #fff;
    font-weight: 720;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--login-primary), var(--login-blue));
    box-shadow: 0 18px 45px rgba(125, 92, 255, 0.28);
    transition: all 0.28s ease;
}

.btn-login:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 24px 60px rgba(90, 184, 255, 0.32);
    filter: brightness(1.04);
}

.signup-section {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.signup-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.signup-section-header span {
    color: #7a8398;
    font-size: 0.78rem;
    font-weight: 680;
}

.signup-plan-grid {
    display: grid;
    gap: 12px;
}

.signup-plan-card {
    display: block;
    margin: 0;
    cursor: pointer;
}

.signup-plan-card input,
.signup-cycle-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.signup-plan-card__body {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    color: #172033;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.88));
    border: 1px solid rgba(126, 136, 170, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.80),
        0 14px 28px rgba(34, 42, 75, 0.06);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.signup-plan-card:hover .signup-plan-card__body,
.signup-plan-card input:checked + .signup-plan-card__body {
    border-color: rgba(109, 76, 255, 0.46);
    box-shadow:
        0 0 0 0.22rem rgba(125, 92, 255, 0.11),
        0 18px 36px rgba(90, 184, 255, 0.14);
    transform: translateY(-1px);
}

.signup-plan-card__body strong {
    color: #172033;
    font-size: 0.96rem;
    font-weight: 780;
}

.signup-plan-card__body small {
    color: #697389;
    font-size: 0.82rem;
    line-height: 1.45;
}

.signup-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #6d4cff;
    font-size: 1.35rem;
    font-weight: 780;
}

.signup-plan-price em,
.signup-plan-year {
    color: #7a8398;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 660;
}

.signup-plan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.signup-plan-tags b,
.signup-plan-trial {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: #50607b;
    background: rgba(90, 184, 255, 0.10);
    border: 1px solid rgba(90, 184, 255, 0.16);
    font-size: 0.72rem;
    font-weight: 720;
}

.signup-plan-trial {
    justify-self: flex-start;
    color: #6d4cff;
    background: rgba(125, 92, 255, 0.10);
    border-color: rgba(125, 92, 255, 0.16);
}

.signup-cycle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.signup-cycle-option {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 16px;
    color: #475067;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(126, 136, 170, 0.18);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 760;
    box-shadow: 0 12px 22px rgba(34, 42, 75, 0.05);
    transition: all 0.22s ease;
}

.signup-cycle-option:has(input:checked) {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--login-primary), var(--login-blue));
    box-shadow: 0 16px 34px rgba(125, 92, 255, 0.22);
}

.btn-login:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
    box-shadow: none;
}

.login-mobile-footer {
    display: none;
}

@keyframes loginFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -18px, 0) scale(1.04);
    }
}

@media (max-width: 991.98px) {
    .login-shell {
        max-width: 540px;
        grid-template-columns: 1fr;
    }

    .login-showcase {
        min-height: auto;
        padding: 30px;
    }

    .showcase-glass-card,
    .showcase-info-card {
        max-width: none;
    }

    .showcase-info-card,
    .showcase-footer {
        display: none;
    }

    .login-card {
        min-height: auto;
        padding: 34px 30px;
    }

    .signup-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .login-mobile-footer {
        margin-top: 28px;
        padding-top: 20px;
        border-top: 1px solid rgba(126, 136, 170, 0.14);
        text-align: center;
        display: grid;
        place-items: center;
        gap: 8px;
    }

    .login-mobile-footer span {
        color: #7a8398;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.10em;
    }

    .login-mobile-footer .developer-logo {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .login-page {
        padding: 16px;
    }

    .login-page::before {
        inset: 8px;
        border-radius: 24px;
    }

    .login-shell {
        border-radius: 28px;
    }

    .login-showcase,
    .login-card {
        padding: 24px 20px;
    }

    .showcase-glass-card {
        padding: 22px;
        border-radius: 26px;
    }

    .showcase-logo-wrap {
        width: 142px;
        min-height: 104px;
        margin-bottom: 18px;
    }

    .showcase-logo-wrap img {
        max-width: 142px;
        max-height: 104px;
    }

    .showcase-glass-card h1 {
        font-size: 2rem;
    }

    .developer-logo {
        min-width: 150px;
        max-width: 190px;
    }

    .developer-logo img {
        max-width: 190px;
    }
}
