:root {
    --color-text-muted:     #878D97;
    --color-text-light:     #C6C8CB;
    --color-text-white:     #FFF;
    --color-accent:         #EC4046;
    --color-bg-card:        #111317;
    --color-bg-input:       #1D2129;
    --color-border-card:    #1B1E25;
    --color-border-input:   #242933;
    --color-purple-border:  #400F78;
    --color-purple-bg:      rgba(93, 13, 183, 0.30);
    --color-purple-text:    #E8D3FF;
    --red-600:              #C42121;
}

.navbar-custom {
    min-height: 90px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.promo-banner {
    background: var(--red-600);
    border: 1px solid var(--gray-fill);
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
}

.promo-text {
    color: #F5F5F6;
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
    text-align: center;
}

.label-smart {
    display: inline-flex;
    padding: 2px 12px;
    align-items: center;
    border-radius: 20px;
    border: 1px solid var(--color-purple-border);
    background: var(--color-purple-bg);
    color: var(--color-purple-text);
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    font-weight: 500;
    width: fit-content;
}

.trial-badge-wrapper {
    position: absolute;
    bottom: -40px;
    left: -12px;
    z-index: 2;
    width: 125px;
    height: 126px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateBadge 15s linear infinite;
}

.badge-star {
    position: relative;
    z-index: 3;
    width: 36px;
    height: 36px;
}

@keyframes rotateBadge {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.hero-wrapper {
    padding: var(--BS-Logged-margin-vertical) 0;
    background: url('/templates/exit-lag/lp/trial/img/background-hero.webp') center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-hero {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 60px;
}

.unlock-title {
    color: var(--color-text-white);
    font-family: Organetto, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    width: 100%;
    max-width: 650px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: left;
}

.grecaptcha-badge {
    bottom: -22% !important;
    right: 15% !important;
}

.unlock-title .highlight {
    color: var(--color-accent);
}

.unlock-description {
    color: var(--Gray-400, #878D97);
    leading-trim: both;
    text-edge: cap;
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    margin-top: 15px;
}

.product-visual-container {
    padding-left: 50px;
    position: relative;
    display: inline-block;
}

.main-product {
    max-width: 350px;
    position: relative;
    z-index: 1;
}

.auth-card-modern {
    display: flex;
    width: 100%;
    max-width: 464px;
    padding: 32px 48px;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    border: 1px solid #313741;
    background: var(--Gray-1000, #191D24);
    box-shadow: 2px 7px 12px 0 rgba(0, 0, 0, 0.12);
    position: relative;
}

.sso-buttons {
    width: 100% !important;
    display: block;
    padding: 0px !important;
}

.sso-separator {
    display: none;
}

.btn-discord {
    background: #5865F2;
    margin-bottom: 12px !important;
}

.btn-signup-email {
    height: 42px;
    background: var(--red-600-main, #C42121);
    color: var(--Gray-100, #EBECED);
    font-family: Ubuntu;
    border: none;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

.hero-form-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-bottom: 20px;
}

.input-with-icon {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-relative {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.hero-input-style::placeholder {
    color: var(--Gray-300, #C6C8CB);
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.hero-input-style {
    width: 100%;
    padding: 12px 45px;
    background: var(--Gray-950, #111317);
    border: 1px solid var(--Gray-950, #111317);
    border-radius: 6px;
    color: var(--color-text-white);
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-input-style:focus {
    border-color: var(--red-600);
    background: #15181c;
}

.input-icon-wrapper {
    position: absolute;
    left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    pointer-events: none;
    z-index: 3;
    transition: color 0.2s ease;
}

.input-icon-right {
    position: absolute;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    pointer-events: auto;
    z-index: 3;
    cursor: pointer;
    transition: color 0.2s ease;
}

.hero-input-style:focus ~ .input-icon-wrapper,
.hero-input-style:focus ~ .input-icon-right {
    color: var(--red-600);
}

.checkbox-hero-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.custom-checkbox {
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: transparent;
    border-radius: 6px;
    border: 1px solid var(--Gray-300, #D0D5DD);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-hero-text {
    color: var(--Gray-300, #C6C8CB);
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.checkbox-hero-text a {
    color: var(--color-text-light);
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-decoration: underline !important;
}

.btn-submit-hero {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 4px;
    background: var(--red-600-main, #C42121);
    box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
    color: var(--Gray-100, #EBECED);
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.btn-back-site {
    display: inline-flex;
    width: auto;
    min-width: fit-content;
    height: 44px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    background: var(--red-600);
    color: var(--color-text-white);
    font-family: Ubuntu, sans-serif ;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0 16px;
    white-space: nowrap;
}

.arow-right {
    width: 20px;
    height: 20px;
}

.back-link-hero {
    background: none;
    border: none;
    color: #888;
    text-decoration: underline;
    font-size: 12px;
    margin-top: 15px;
    cursor: pointer;
}

.card-subtitle-text {
    color: var(--color-text-muted);
    font-family: Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    margin-bottom: 24px;
}

.text-glue {
    color: var(--color-text-muted);
    font-family: Ubuntu, sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.line-divider {
    border: 0;
    height: 1px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: linear-gradient(
            90deg,
            #050505 0%,
            #1E2330 50%,
            #050505 100%
    );
}

hr {
    margin: 0;
}

.fade-in-hero {
    animation: fadeInHero 0.3s ease forwards;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-close-btn {
    display: none;
}

@media (min-width: 1200px) {
    .row-hero {
        column-gap: 161px;
    }

    .auth-card-modern {
        margin-left: auto;
    }
}

@media (max-width: 1199px) {
    .unlock-title {
        text-align: center;
    }

    .product-visual-container {
        display: none;
    }

    .hero-content-side {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 32px;
    }

    .unlock-description {
        max-width: 420px;
        text-align: left;
        margin: 0 auto;
    }
}

.error-message {
    display: none;
    align-items: center;
    gap: 14px;
    background: rgba(196, 33, 33, 0.15);
    border: 1px solid rgba(196, 33, 33, 0.4);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 16px;
    width: 100%;
    animation: fadeInHero 0.3s ease forwards;
}

.error-message:not(:empty) {
    display: flex;
}

.btn-back-site:hover {
    color: var(--color-text-white);
    text-decoration: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .row-hero {
        flex-direction: column;
        justify-content: center;
        column-gap: 0;
    }

    .auth-card-modern {
        margin: 0 auto;
    }
}

@media (max-width: 991px) {
    .grecaptcha-badge {
        bottom: -18% !important;
        right: 15% !important;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        z-index: 9999;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        border-radius: 0;
        margin: 0;
        border: none;
        padding: 0;
    }

    .navbar-collapse.show {
        opacity: 1;
        pointer-events: all;
    }

    .navbar-collapse .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .navbar-collapse .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        height: 100%;
    }

    .menu-close-btn {
        display: block;
        position: absolute;
        top: 24px;
        right: 24px;
        background: none;
        border: none;
        color: #fff;
        font-size: 28px;
        cursor: pointer;
        z-index: 10001;
        line-height: 1;
    }

    .unlock-title {
        font-size: 28px;
        text-align: center;
        margin: 0 auto 20px;
    }

    .btn-back-site {
        background: none;
        color: var(--color-text-white);
        width: auto;
        height: auto;
        padding: 8px 0;
        font-size: 16px;
    }

    .hero-wrapper {
        text-align: center;
    }

    .auth-card-modern {
        margin: 0 auto;
    }

    .container-hero {
        padding: 0 40px;
    }

    .container-hero .label-smart {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .hero-wrapper {
        background-image: url('/templates/exit-lag/lp/trial/img/background-hero-mobile.webp');
        background-position: center top;
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .unlock-title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .promo-text {
        font-size: 14px;
    }

    .btn-discord,
    .btn-signup-email {
        font-size: 12px;
    }
}