.lgs360-page {
    --lgs360-midnight: #20206e;
    --lgs360-primary: #3476f6;
    --lgs360-bg: #f7f8fc;
    --lgs360-input: #f4f5f7;
    --lgs360-error: #d94b4b;

    position: relative;
    min-height: 820px;
    overflow: hidden;
    padding: 38px 0 78px;
    background: var(--lgs360-bg);
}

.lgs360-page__background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("/assets/images/lgs360-webinar/background.svg") center top / cover no-repeat;
    pointer-events: none;
}

.lgs360-page__inner {
    position: relative;
    z-index: 2;
}

.lgs360-hero {
    width: min(860px, 100%);
    margin: 0 auto 24px;
    text-align: center;
    color: var(--lgs360-midnight);
}

.lgs360-hero__title {
    margin: 0 0 12px;
    color: var(--lgs360-midnight);
    font-size: clamp(34px, 3.3vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.7px;
}

.lgs360-hero__title span {
    color: var(--lgs360-primary);
}

.lgs360-hero__description {
    font-size: clamp(15px, 1.15vw, 19px);
    line-height: 1.52;
}

.lgs360-hero__description p {
    margin: 0 0 5px;
}

.lgs360-hero__lead {
    font-size: 1.08em;
    font-weight: 500;
}

.lgs360-hero__last {
    margin-top: 8px !important;
}

.lgs360-page__content {
    width: min(720px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.lgs360-page__side {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: min(28vw, 455px);
    max-height: 70%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.lgs360-page__side--left {
    left: 0;
    object-position: left bottom;
}

.lgs360-page__side--right {
    right: 0;
    object-position: right bottom;
}

.lgs360-form-card,
.lgs360-result-card {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(32, 32, 110, 0.05);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(31, 42, 86, 0.09);
}

.lgs360-form-card {
    padding: 28px 32px 26px;
}

.lgs360-form-card__title-row,
.lgs360-form-card__permission-title {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--lgs360-midnight);
}

.lgs360-form-card__title-row {
    margin-bottom: 23px;
}

.lgs360-form-card__title-row h2,
.lgs360-form-card__permission-title h3 {
    margin: 0;
    color: var(--lgs360-midnight);
}

.lgs360-form-card__title-row h2 {
    font-size: 19px;
}

.lgs360-form-card__permission-title h3 {
    font-size: 16px;
}

.lgs360-round-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lgs360-primary);
    background: rgba(52, 118, 246, 0.1);
    font-size: 18px;
}

.lgs360-round-icon--small {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 16px;
}

.lgs360-form-fields {
    display: grid;
    gap: 18px;
}

.lgs360-form-field {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.lgs360-form-field > label {
    padding-top: 11px;
    color: var(--lgs360-midnight);
    font-size: 14px;
    line-height: 1.4;
}

.lgs360-form-field > label span,
.lgs360-checkbox strong {
    color: #e75b48;
}

.lgs360-form-field__control {
    min-width: 0;
}

.lgs360-form-field input {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    border: 1px solid rgba(32, 32, 110, 0.08);
    border-radius: 8px;
    padding: 0 14px;
    outline: none;
    background: var(--lgs360-input);
    color: #2a2f40;
    font-size: 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.lgs360-form-field input::placeholder {
    color: #969ba6;
}

.lgs360-form-field input:focus {
    background: #fff;
    border-color: rgba(52, 118, 246, 0.72);
    box-shadow: 0 0 0 3px rgba(52, 118, 246, 0.09);
}

.lgs360-validation {
    margin: 5px 0 0;
    color: rgba(217, 75, 75, 0.85);
    font-size: 12px;
    line-height: 1.4;
}

.lgs360-validation--permissions {
    margin-top: 12px;
}

.lgs360-form-divider {
    height: 1px;
    margin: 24px 0 16px;
    background: #e8ebf1;
}

.lgs360-form-divider--soft {
    margin: 18px 0;
}

.lgs360-form-card__permission-title {
    margin-bottom: 14px;
}

.lgs360-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    color: var(--lgs360-midnight);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.lgs360-checkbox--highlighted {
    padding: 13px 14px;
    border-radius: 10px;
    background: rgba(52, 118, 246, 0.045);
}

.lgs360-checkbox input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 1px 0 0;
    position: relative;
    border: 1.5px solid #a5abb8;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.lgs360-checkbox input:checked {
    border-color: var(--lgs360-primary);
    background: var(--lgs360-primary);
}

.lgs360-checkbox input:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.lgs360-legal-link {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--lgs360-midnight);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    line-height: inherit;
}

.lgs360-form-submit-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.lgs360-form-submit.ant-btn {
    width: min(100%, 430px);
    height: 50px;
    border: 0;
    color: #fff;
    background: var(--lgs360-primary);
    font-size: 16px;
    box-shadow: none;
}

.lgs360-form-submit.ant-btn:disabled {
    color: #fff;
    background: #c2c4e3;
}

.lgs360-form-submit.ant-btn:not(:disabled):hover,
.lgs360-form-submit.ant-btn:not(:disabled):focus {
    color: #fff !important;
    background: #2f6fe9 !important;
}

.lgs360-page--result {
    min-height: 720px;
}

.lgs360-page--result .lgs360-hero {
    margin-bottom: 22px;
}

.lgs360-result-card {
    padding: 34px 48px 36px;
    text-align: center;
    color: var(--lgs360-midnight);
}

.lgs360-result-card__illustration {
    display: block;
    width: 126px;
    height: 126px;
    margin: 0 auto 15px;
}

.lgs360-result-card__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--lgs360-midnight);
    font-size: clamp(29px, 2.7vw, 42px);
    line-height: 1.18;
}

.lgs360-result-card__copy {
    max-width: 570px;
    margin: 0 auto 28px;
    color: var(--lgs360-midnight);
    font-size: 17px;
    line-height: 1.58;
}

.lgs360-result-card__copy p {
    margin: 0 0 4px;
}

.lgs360-result-button {
    width: min(100%, 510px);
    min-height: 52px;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f6ff3 0%, #3d78f7 100%);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.15s ease;
}

.lgs360-result-button:hover {
    filter: brightness(0.98);
    transform: translateY(-1px);
}

.lgs360-result-link {
    display: block;
    margin: 18px auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--lgs360-primary);
    text-decoration: underline;
    font-size: 15px;
    cursor: pointer;
}

@media (max-width: 1399.98px) {
    .lgs360-page__side {
        width: min(25vw, 370px);
    }
}

@media (max-width: 1199.98px) {
    .lgs360-page {
        min-height: auto;
        padding-top: 30px;
    }

    .lgs360-page__side {
        display: none;
    }

    .lgs360-page__content {
        width: min(700px, 100%);
    }
}

@media (max-width: 991.98px) {
    .lgs360-page {
        padding: 28px 0 58px;
    }

    .lgs360-hero {
        width: min(760px, 100%);
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .lgs360-page {
        padding: 23px 0 40px;
    }

    .lgs360-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lgs360-hero__title {
        font-size: 32px;
        letter-spacing: -0.35px;
    }

    .lgs360-hero__description {
        font-size: 15px;
        line-height: 1.48;
    }

    .lgs360-hero__description p:nth-child(2) {
        margin-top: 8px;
    }

    .lgs360-form-card,
    .lgs360-result-card {
        border-radius: 15px;
    }

    .lgs360-form-card {
        padding: 22px 18px 21px;
    }

    .lgs360-form-card__title-row {
        margin-bottom: 20px;
    }

    .lgs360-form-field {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .lgs360-form-field > label {
        padding-top: 0;
    }

    .lgs360-form-field input {
        height: 47px;
        font-size: 16px;
    }

    .lgs360-form-fields {
        gap: 17px;
    }

    .lgs360-checkbox {
        font-size: 12.5px;
    }

    .lgs360-checkbox--highlighted {
        padding: 12px;
    }

    .lgs360-form-submit.ant-btn {
        width: 100%;
    }

    .lgs360-result-card {
        padding: 29px 20px 30px;
    }

    .lgs360-result-card__illustration {
        width: 100px;
        height: 100px;
    }

    .lgs360-result-card__title {
        flex-wrap: wrap;
        font-size: 30px;
    }

    .lgs360-result-card__copy {
        font-size: 15px;
        line-height: 1.55;
    }

    .lgs360-result-button {
        width: 100%;
    }
}

@media (max-width: 479.98px) {
    .lgs360-page {
        padding-top: 18px;
    }

    .lgs360-hero__title {
        font-size: 28px;
    }

    .lgs360-hero__description {
        font-size: 14px;
    }

    .lgs360-form-card {
        padding-left: 15px;
        padding-right: 15px;
    }

    .lgs360-form-card__title-row h2 {
        font-size: 17px;
    }

    .lgs360-result-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lgs360-result-card__title {
        font-size: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lgs360-form-field input,
    .lgs360-result-button {
        transition: none;
    }
}
