@import url("../../../../styles/colors.css");

.sf-smarter-safety__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: grid;
    place-items: center;

    width: min(100%, var(--sf-page-width));
    min-height: 697px;
    margin-inline: auto;
    padding: 72px 40px;

    color: #ffffff;
    background: radial-gradient(
        circle at 101% -3%,
        rgba(30, 54, 221, 0.95) 0%,
        rgba(30, 54, 221, 0) 31%
    ),
    radial-gradient(
        circle at -3% 103%,
        rgba(27, 52, 225, 0.98) 0%,
        rgba(27, 52, 225, 0) 32%
    ),
    linear-gradient(115deg, #1a2747 0%, #14203e 52%, #0f1b39 100%);
    border-radius: 28px;
}

.sf-smarter-safety__content {
    position: relative;
    z-index: 2;

    width: min(100%, 820px);

    text-align: center;
}

.sf-smarter-safety__title {
    margin: 0 0 20px;
    color: var(--BG-White, #FFF);

    font-size: 58px;
    font-weight: 700;
    line-height: 114%;
    letter-spacing: -0.56px;
}

.sf-smarter-safety__title span {
    color: var(--Brand-Primary-Alt, #2C4BE3);
}

.sf-smarter-safety__description {
    max-width: 724px;
    margin: 0 auto;

    color: rgba(246, 247, 255, 0.75);

    font-size: 20px;
    line-height: 1.5;
}

.sf-smarter-safety__description strong {
    color: rgba(246, 247, 255, 0.84);
    font-weight: 700;
}

.sf-smarter-safety__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin-top: 64px;
}

.sf-smarter-safety__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 62px;
    padding: 19px 28px;

    border-radius: 12px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;

    transition: background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.sf-smarter-safety__button:hover {
    transform: translateY(-2px);
}

.sf-smarter-safety__button--primary {
    min-width: 242px;

    color: #ffffff;
    background: var(--color-primary, #112AD4);
}

.sf-smarter-safety__button--primary:hover {
    background: var(--color-primary-hover, #253CDB);
}

.sf-smarter-safety__button--secondary {
    min-width: 159px;
    min-height: 64px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.01);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
}

.sf-smarter-safety__button--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}

.sf-page .sf-smarter-safety__button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.45);
    outline-offset: 4px;
}

.sf-smarter-safety__orbit {
    position: absolute;
    z-index: 0;

    width: 700px;
    height: 700px;

    background: repeating-radial-gradient(
        circle at center,
        transparent 0 47px,
        rgba(92, 116, 244, 0.25) 48px 49px
    );
    border-radius: 50%;

    pointer-events: none;
}

.sf-smarter-safety__arrow {
    transform: rotate(-180deg);
}

.sf-smarter-safety__glow {
    position: absolute;
    z-index: 0;

    display: block;

    max-width: none;

    pointer-events: none;
}

.sf-smarter-safety__glow--top {
    top: 0;
    right: 0;

    width: 522px;
    height: 604px;
}

.sf-smarter-safety__glow--bottom {
    top: 0;
    left: 0;

    width: 555px;
    height: 697px;
}

.sf-smarter-safety__lines {
    position: absolute;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 880.11px;
    height: 880.11px;

    pointer-events: none;
}

.sf-smarter-safety__lines img {
    flex: 0 0 auto;

    width: 364.663px;
    height: 880px;
    max-width: none;
}

.sf-smarter-safety__lines--top {
    top: -421.98px;
    right: -359.11px;
}

.sf-smarter-safety__lines--top img {
    transform: rotate(135deg);
}

.sf-smarter-safety__lines--bottom {
    top: 208.02px;
    left: -316px;
}

.sf-smarter-safety__lines--bottom img {
    transform: rotate(-45deg);
}


.sf-smarter-safety__orbit--top {
    top: -370px;
    right: -375px;
}

.sf-smarter-safety__orbit--bottom {
    bottom: -350px;
    left: -406px;
}

.sf-smarter-safety__dot {
    position: absolute;
    z-index: 1;

    width: 8px;
    height: 8px;

    background: #6f8af4;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(111, 138, 244, 0.45);
}

.sf-smarter-safety__dot--top {
    top: 81px;
    right: 139px;
}

.sf-smarter-safety__dot--bottom-one {
    bottom: 156px;
    left: 17px;
}

.sf-smarter-safety__dot--bottom-two {
    bottom: 111px;
    left: 182px;
}

.sf-smarter-safety__dot--bottom-three {
    bottom: 9px;
    left: 299px;
}


@media (max-width: 1024px) {
    .sf-smarter-safety__panel {
        min-height: 620px;
    }

    .sf-smarter-safety__title {
        font-size: 52px;
    }

    .sf-more-products {
        padding-inline: 32px;
    }

    .sf-more-products__header {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.65fr);
        gap: 40px;
    }

    .sf-more-products__title {
        font-size: 50px;
    }

    .sf-more-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .sf-smarter-safety__panel {
        height: 450px;
        min-height: 450px;
        padding: 48px 16px;

        border-radius: 16px;
    }

    .sf-smarter-safety__content {
        gap: 40px;
    }

    .sf-smarter-safety__copy {
        gap: 16px;
    }

    .sf-smarter-safety__title {
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: 118%; /* 37.76px */
        letter-spacing: -0.16px;
        margin-bottom: 12px;
    }

    .sf-smarter-safety__description {
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%;
    }

    .sf-desktop-break {
        display: none;
    }

    .sf-smarter-safety__actions {
        flex-direction: column;
        gap: 12px;

        width: 100%;
        margin-top: 32px
    }

    .sf-smarter-safety__button,
    .sf-smarter-safety__button--primary,
    .sf-smarter-safety__button--secondary {
        width: min(100%, 242px);
        min-width: 0;
    }

    .sf-smarter-safety__glow--top {
        right: -110px;
    }

    .sf-smarter-safety__glow--bottom {
        left: -150px;
    }

    .sf-smarter-safety__lines--top {
        right: -510px;
    }

    .sf-smarter-safety__lines--bottom {
        left: -470px;
    }

    .sf-smarter-safety__button {
        width: 100%;
        padding: 12px 32px;
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 140%;
        min-height: 52px;
    }

    .sf-smarter-safety__arrow {
        width: 21px;
        height: 21px;
    }
}

.sf-smarter-safety__button--primary {
    border: none;
}