/* common styles */
.pagewrapper {
    --rpa-blue: #001DFF;
    --h1-size: 56px;
    --h2-size: 40px;
    --h4-size: 32px;
    --h5-size: 24px;
    --p-size-1: 22px;
    --p-size-2: 20px;
    --number-size: 72px;
}

.zw-product-header,
.zwc-bnr-wrap,
.zwc-cnt-wrap {
    background: #001431;
}

.zwc-white-bg {
    width: 100%;
    max-width: 1050px;
    margin-inline: auto;
    background: #FFFFFF;
    border-radius: 12px;
}

.zwc-semi-bold {
    font-family: var(--zf-primary-semibold);
}

.pagewrapper .content-wrap {
    padding: 90px 0;
}

.pagewrapper>img {
    display: block;
}

.pagewrapper a {
    color: var(--zwc-link-clr);
}

/* common styles end */
/* banner styles */
.zwc-bnr-inner {
    padding: 80px 60px;
    text-align: center;
}

.zwc-bnr-inner h1 {
    font-size: var(--h1-size);
    letter-spacing: -1.6px;
    max-width: 860px;
    margin: 0 auto 40px;
}

.zwc-bnr-inner h1 span {
    color: var(--rpa-blue);
}

.zwc-bnr-inner>p {
    font-size: var(--p-size-2);
    max-width: 770px;
    margin-inline: auto;
}

.zwc-rpa-tools-list {
    max-width: 910px;
    list-style: none;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(5, 1fr);
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    justify-content: center;
    gap: 15px 70px;
    margin: 50px auto 0;
    counter-reset: tool-counter;
}

.zwc-tool-item {
    counter-increment: tool-counter;
    position: relative;
}

.zwc-tool-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 10px 40px;
    border: 1px solid #E3E6EC;
    background: #FFF;
    color: #000;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zwc-tool-item .zwc-tool-button::before {
    content: counter(tool-counter, decimal-leading-zero);
    width: 40px;
    height: 40px;
    font-size: 16px;
    font-family: var(--zf-primary-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: -20px;
    z-index: 1;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #E3E6EC;
    border-radius: 50%;
}

.zwc-tool-item .zwc-tool-button:hover::before {
    border-color: var(--rpa-blue);
}

.zwc-sidebar-item .zwc-tool-button {
    position: relative;
    border-radius: 50%;
    padding: 10px;
}

.zwc-tool-button:hover {
    border-color: var(--rpa-blue);
    box-shadow: 0 24px 48px -8px rgba(0, 0, 0, 0.25);
}

.zwc-floating-tooltip {
    position: absolute;
    top: 20px;
    left: 57px;
    z-index: 1;
    color: #fff;
    background: #000;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.zwc-floating-tooltip:before {
    content: "";
    width: 8px;
    height: 8px;
    background: #000;
    position: absolute;
    left: -3px;
    top: 9px;
    transform: rotate(45deg);
}

.zwc-tool-icon {
    width: 100%;
    max-width: 48px;
    height: 48px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

.zwc-tool-name {
    font-size: var(--p-size-1);
    font-family: var(--zf-primary-medium);
    margin: 0;
}

/* banner styles end */
/* Sidebar styles */
.zwc-cnt-inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1050px;
    min-height: 100vh;
    margin: 0 auto;
}

.zwc-sidebar {
    position: fixed;
    top: 100px;
    right: calc(50% + 550px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-shrink: 0;
    width: fit-content;
    height: calc(100vh - 200px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.zwc-sidebar-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 5px;
    overflow-y: scroll;
    list-style: none;
    counter-reset: tool-counter;
}

/* WebKit browsers */
.zwc-sidebar-content::-webkit-scrollbar {
    width: 2px;
}

.zwc-sidebar-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.zwc-sidebar-content::-webkit-scrollbar-thumb {
    background: #d8d8d8;
    border-radius: 4px;
}

.zwc-sidebar-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Firefox */
.zwc-sidebar-content {
    scrollbar-width: thin;
    scrollbar-color: #d8d8d8 transparent;
}

.zwc-sidebar-item {
    margin-bottom: 10px;
}

.zwc-sidebar-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Sidebar styles end */
/* Main Content style */
.zwc-cnt-wrap {
    padding: 90px 0;
}

.pagewrapper .zwc-cnt-wrap .content-wrap {
    padding: 0;
}

.zwc-cnt-wrap h2 {
    font-size: var(--h2-size);
    text-align: center;
    max-width: 570px;
    color: #fff;
    letter-spacing: -1.2px;
    margin: 0 auto 50px;
}

.zwc-main-content {
    flex: 1;
    min-width: 0;
    counter-reset: tool-counter;
}

.zwc-content-inner {
    position: relative;
    padding: 60px 80px;
    margin-bottom: 40px;
    counter-increment: tool-counter;
}

.zwc-content-inner::before {
    content: counter(tool-counter, decimal-leading-zero);
    position: absolute;
    top: 50px;
    right: 80px;
    z-index: 1;
    font-size: var(--number-size);
    font-family: var(--zf-primary-semibold);
    letter-spacing: -2px;
    line-height: 1;
    color: #f0f0f0;
}

:is(.zwc-content-inner, .zwc-highlights-section, .zwc-feature-list)>*:last-child {
    margin-bottom: 0 !important;
}

.zwc-tool-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.zwc-tool-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
}

.zwc-tool-title {
    font-size: var(--h2-size);
    letter-spacing: -1.2px;
    margin: 0;
}

.zwc-tool-screenshot {
    width: 100%;
    min-height: 320px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    border-radius: 8px;
    padding: 10px 20px 0;
    margin-bottom: 50px;
    background: #223AFF;
}

.zwc-content-inner:nth-child(2) .zwc-tool-screenshot {
    background: linear-gradient(90deg, #F5DA49 0%, #F2CF48 4%, #EAB144 15%, #E59840 27%, #E0853C 39%, #DE763A 52%, #DC6B39 65.01%, #DB6337 80.01%, #DB6037 99.01%, #DB6037 100.01%);
}

.zwc-content-inner:nth-child(3) .zwc-tool-screenshot {
    background: #00A4EF;
}

.zwc-content-inner:nth-child(4) .zwc-tool-screenshot {
    background: #0780C1;
}

.zwc-content-inner:nth-child(5) .zwc-tool-screenshot {
    background: #C00E0E;
}

.zwc-content-inner:nth-child(6) .zwc-tool-screenshot {
    background: #333333;
}

.zwc-content-inner:nth-child(7) .zwc-tool-screenshot {
    background: #FF7D01;
}

.zwc-content-inner:nth-child(8) .zwc-tool-screenshot {
    background: #1B2589;
}

.zwc-content-inner:nth-child(9) .zwc-tool-screenshot {
    background: #BC0018;
}

.zwc-content-inner:last-child .zwc-tool-screenshot {
    background: #140E14;
}

.zwc-tool-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 50px;
}

.zwc-tool-description p {
    font-size: var(--p-size-2);
    margin-bottom: 20px;
}

.zwc-highlights-section {
    margin-top: 40px;
}

.zwc-section-title {
    font-size: var(--h4-size);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.zwc-subsection:not(:last-child) {
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.zwc-subsection:not(:last-child)::before {
    content: "";
    width: 54px;
    height: 1px;
    background: #A1B1C8;
    position: absolute;
    bottom: 0;
    left: 0;
}

.zwc-subsection-title {
    font-size: var(--h5-size);
    margin-bottom: 12px;
}

.zwc-feature-list {
    list-style: none;
}

.zwc-feature-item {
    position: relative;
    font-size: var(--p-size-2);
    padding-left: 30px;
    margin-bottom: 8px;
}

.zwc-feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 18px;
    height: 17px;
    background: url("/sites/zweb/images/rpa/alternatives/tick-icon.svg") 0 0 / 100% no-repeat;
    flex-shrink: 0;
}

.zwc-disclaimer {
    font-size: 12px;
    color: #fff;
    max-width: 1050px;
    margin: 0 auto 15px;
}

.zwc-disclaimer a{
    color: var(--zwc-link-clr-dark);
}

/* Main Content style end */
/* form sec style */
.zwc-form-inner {
    max-width: 1170px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
}

.zwc-form-cotent,
.zwc-form-container {
    width: 50%;
}

.zwc-form-cotent h2 {
    font-size: var(--h1-size);
}

.zwc-form-cotent h2 span {
    color: var(--rpa-blue);
}

.zwc-form-cotent p {
    font-size: var(--p-size-2);
    max-width: 500px;
}

.zwc-form-container {
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #C2C9FF;
    box-shadow: 0 40px 80px -16px rgba(0, 0, 0, 0.16);
}

/* form sec style end */

@media (max-width: 1440px) {

    /* common */
    .pagewrapper {
        --h1-size: 52px;
        --h2-size: 36px;
        --p-size-1: 20px;
        --p-size-2: 18px;
    }

    .zwc-white-bg,
    .zwc-disclaimer {
        max-width: 950px;
    }

    /* common end */
    /* banner styles */
    .zwc-rpa-tools-list {
        grid-template-columns: repeat(auto-fit, minmax(350px, .5fr));
    }

    .zwc-tool-button {
        padding: 10px 30px 10px 35px;
    }

    /* banner styles end */
    /* Sidebar styles */
    .zwc-sidebar{
        right: calc(50% + 500px);
    }
    /* Sidebar styles end */
}

@media (max-width: 1280px) {

    /* Sidebar styles */
    .zwc-sidebar {
        display: none;
    }

    /* Sidebar styles end */
}

@media (max-width: 1199px) {

    /* common */
    .pagewrapper {
        --h1-size: 48px;
        --p-size-1: 18px;
        --p-size-2: 17px;
    }

    .pagewrapper .content-wrap,
    .zwc-cnt-wrap {
        padding: 70px 0;
    }

    /* common end */
    /* banner styles */
    .zwc-bnr-inner {
        padding: 60px 40px;
    }

    .zwc-bnr-inner h1 {
        max-width: 700px;
    }

    .zwc-rpa-tools-list {
        padding-left: 20px;
    }

    /* banner styles end */
    /* Main Content style */
    .zwc-content-inner {
        padding: 50px;
    }

    .zwc-content-inner::before {
        top: 40px;
        right: 50px;
    }

    /* Main Content style end */
    /* form sec style */
    .zwc-form-inner {
        gap: 50px;
        align-items: flex-start;
    }

    /* form sec style end */
}

@media (max-width: 991px) {

    /* common */
    .pagewrapper {
        --h1-size: 40px;
        --h2-size: 32px;
        --h4-size: 28px;
        --h5-size: 20px;
        --p-size-1: 17px;
        --number-size: 56px;
    }

    .pagewrapper .content-wrap,
    .zwc-cnt-wrap {
        padding: 60px 0;
    }

    .zwc-white-bg,
    .zwc-disclaimer {
        max-width: 900px;
    }

    /* common end */
    /* banner styles */
    .zwc-bnr-inner {
        padding: 40px;
    }

    .zwc-bnr-inner h1 {
        max-width: 570px;
        margin-bottom: 20px;
    }

    .zwc-rpa-tools-list {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        max-width: 350px;
        margin-top: 30px;
    }

    .zwc-tool-icon {
        max-width: 36px;
    }

    .zwc-tool-button {
        padding: 8px 30px;
    }

    .zwc-tool-item .zwc-tool-button::before {
        width: 35px;
        height: 35px;
        left: -18px;
    }

    /* banner styles end */
    /* Main Content style */
    .zwc-cnt-wrap h2 {
        margin-bottom: 30px;
    }

    .zwc-content-inner {
        width: 95%;
        padding: 30px 30px 40px;
    }

    .zwc-content-inner::before {
        top: 25px;
        right: 30px;
    }

    .zwc-tool-header {
        margin-bottom: 20px;
    }

    .zwc-tool-header img {
        width: 100%;
        max-width: 48px;
    }

    .zwc-tool-screenshot {
        min-height: auto;
        padding-top: 20px;
    }

    .zwc-tool-screenshot,
    .zwc-tool-description {
        margin-bottom: 30px;
    }

    .zwc-subsection:not(:last-child) {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    /* Main Content style end */
    /* form sec style */
    .zwc-form-inner {
        max-width: 900px;
        flex-direction: column;
        gap: 20px;
    }

    .zwc-form-cotent p {
        max-width: 700px;
    }

    .zwc-form-cotent,
    .zwc-form-container {
        width: 100%;
    }

    /* form sec style end */
}

@media (max-width: 767px) {

    /* common */
    .pagewrapper {
        --h1-size: 32px;
        --h2-size: 28px;
        --h4-size: 24px;
        --h5-size: 18px;
    }

    /* common end */
    /* banner styles */
    .zwc-bnr-inner {
        text-align: left;
        padding: 30px;
    }

    .zwc-bnr-inner h1, .zwc-rpa-tools-list, .zwc-cnt-wrap h2{
        margin-inline: initial;
    }
    /* banner styles end */
    /* Main Content style */
    .zwc-cnt-wrap h2 {
        width: 100%;
        text-align: left; 
    }

    .zwc-content-inner {
        width: 90%;
    }

    .zwc-content-inner::before{
        display: none;
    }

    .zwc-tool-screenshot{
        padding: 20px 15px 0;
    }
    /* Main Content style end */
}

@media (max-width: 480px) {
    /* common styles */
    .pagewrapper{
        --h2-size: 24px;
        --h4-size: 22px;
        --p-size-1: 16px;
        --p-size-2: 16px;
    }

    .pagewrapper .content-wrap, .zwc-cnt-wrap {
        padding: 50px 0;
    }
    /* common styles end */
    /* banner styles */
    .zwc-bnr-inner{
        padding: 20px;
        border-radius: 10px;
    }

    .zwc-rpa-tools-list{
        padding-left: 0;
    }

    .zwc-tool-button {
        padding: 8px 15px;
    }
    
    .zwc-tool-item .zwc-tool-button::before{
        display: none;
    }
    
    .zwc-tool-icon {
        max-width: 30px;
    }
    /* banner styles end */
    /* Main Content style */
    .zwc-content-inner{
        padding: 20px 20px 30px;
        border-radius: 10px;
    }

    .zwc-tool-header img{
        max-width: 40px;
    }

    .zwc-tool-screenshot {
        padding: 10px 10px 0;
        border-radius: 5px;
    }

    .zwc-highlights-section {
        margin-top: 30px;
    }

    .zwc-feature-item::before{
        max-width: 12px;
    }

    .zwc-feature-item{
        padding-left: 20px;
    }

    .zwc-subsection:not(:last-child) {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    /* Main Content style end */
    /* form sec style */
    .zwc-form-container{
        padding: 20px;
        border-radius: 10px;
    }
    /* form sec style end */
}