/* #region common */
.rs-page {
    position: relative;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.25;
    color: #001748;
}

.rs-page .container {
    width: 100%;
    max-width: 1302px;
}

.nowrap {
    white-space: nowrap;
}

.section-p {
    padding: 64px 0;
}

.gradient-text {
    background: linear-gradient(180deg, #8577FF 0%, #6130E9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-center {
    text-align: center;
}

.text-semibold {
    font-family: Inter SemiBold, Arial, sans-serif;
}

.text-medium {
    font-family: Inter Medium, Arial, sans-serif;
}

.text-bold {
    font-family: Inter Bold, Arial, sans-serif;
}

.default-title {
    font-family: Inter Bold, Arial, sans-serif;
    font-size: 32px;
    line-height: 1.25;
    color: #001748;
}

h2.default-title {
    color: #001748;
    margin: 0;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.justify-center {
    justify-content: center;
}

a.base-btn,
.base-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-family: Inter SemiBold, Arial, sans-serif;
    line-height: 1.5;
    letter-spacing: -0.2px;
    text-decoration: none;
    border-radius: 12px;
    transition: all ease 0.5s;
}

a.primary-btn,
.primary-btn {
    background: linear-gradient(102deg, #6D44F8 17.53%, #7780F8 120.61%);
    color: #FFF;
    padding: 14px 24px;
}

a.second-btn {
    background: linear-gradient(#FFF, #FFF) padding-box, linear-gradient(86.1deg, #6D44F8 0%, #7780F8 152.28%) border-box;
    border: 2px solid transparent;
    padding: 12px 22px;
}

a.third-btn {
    background-color: unset;
    border: 2px solid transparent;
    padding: 12px 22px;
}

.second-btn span,
.third-btn span {
    background: linear-gradient(180deg, #8577FF 0%, #6130E9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

a.arrow-btn img {
    transform: translateX(0px);
    transition: transform 0.3s ease;
}

a.arrow-btn:hover img {
    transform: translateX(4px);
}

a.shadow-btn {
    opacity: 1 !important;
}

.shadow-btn::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: linear-gradient(90deg,
            #ff6ec4,
            #7873f5,
            #22d3ee,
            #4ade80,
            #ff6ec4);
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    filter: blur(4px);
    transition: opacity 0.3s ease;
}

.shadow-btn:hover::before {
    opacity: 1;
    animation: shadowMove 4s linear infinite;
}

.border-btn:hover {
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(90deg,
            #ff6ec4,
            #7873f5,
            #4ade80,
            #22d3ee,
            #ff6ec4) border-box;
    background-size: 200% 200%;
    animation: borderMove 3s linear infinite;
}

.play-video-item {
    cursor: pointer;
}

@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

@keyframes shadowMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

@keyframes textShine {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@media (max-width: 979px) {
    .section-p {
        padding: 48px 0;
    }

    .default-title {
        font-size: 28px;
        line-height: 36px;
    }
}

@media (max-width: 767px) {
    .section-p {
        padding: 32px 0;
    }

    .cta-group {
        display: grid;
        max-width: 264px;
        margin: 0 auto;
    }

    .default-title {
        font-size: 24px;
        line-height: 32px;
    }
}

/* #endregion */

/* #region hero */
.hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 608px;
    background-image: url('/eSign/images/pages/cts-rs/bg-hero.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.hero-content {
    flex: 0 0 623px;
    max-width: 623px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

h1.hero-title {
    margin: 0;
    font-family: Inter Bold, Arial, sans-serif;
    font-weight: normal;
    font-size: 44px;
    line-height: 64px;
    letter-spacing: -0.2px;
    color: #001748;
}

.hero-desc {
    margin: 0;
    max-width: 516px;
    font-size: 20px;
    line-height: 28px;
    color: #001748;
}

.hero-image {
    flex: 0 0 638px;
    position: relative;
}

.hero-image picture,
.hero-image img {
    display: block;
    width: 100%;
}

.hero-image img {
    height: auto;
}

@media (max-width: 1200px) {
    .hero-image {
        flex: 0 0 500px;
    }

    .hero-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

@media (max-width: 979px) {
    .hero {
        min-height: auto;
        padding: 48px 0;
        background-image: url('/eSign/images/pages/cts-rs/bg-hero-mobile.webp');
    }

    .hero-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .hero-content,
    .hero-image {
        flex: 0 0 auto;
        max-width: 100%;
    }

    h1.hero-title {
        font-size: 32px;
        line-height: 40px;
    }

    .hero-desc {
        font-size: 16px;
        line-height: 24px;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 32px 0;
    }

    .hero-wrap {
        gap: 16px;
    }

    .hero-content {
        gap: 20px;
    }
}

/* #endregion */

/* #region feature */
.feature-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
}

.feature-row+.feature-row {
    margin-top: 128px;
}

.feature-row--reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-text {
    font-size: 16px;
    line-height: 28px;
    color: #001748;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 28px;
    color: #001748;
}

.feature-check img {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.text-danger-1 {
    color: #F04438;
}

.text-danger-2 {
    color: #FF432E;
}

.feature-image {
    flex: 0 0 608px;
    max-width: 608px;
}

.feature-image img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1200px) {
    .feature-row {
        gap: 40px;
    }

    .feature-image {
        flex: 0 0 480px;
        max-width: 480px;
    }
}

@media (max-width: 979px) {

    .feature-row,
    .feature-row--reverse {
        flex-direction: column;
        gap: 24px;
    }

    .feature-row+.feature-row {
        margin-top: 48px;
    }

    .feature-content {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .feature-image {
        flex: 0 0 auto;
        max-width: 608px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .feature-row+.feature-row {
        margin-top: 64px;
    }

    .feature-content {
        gap: 20px;
    }

    .feature-list {
        gap: 12px;
    }

    .feature-text,
    .feature-check {
        font-size: 15px;
        line-height: 24px;
    }

    .feature-cta {
        max-width: 100%;
    }
}

/* #endregion */

/* #region process */
.process-box {
    padding: 64px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    background: linear-gradient(349deg, #FFF -119.52%, #F2EFFE 92.81%), linear-gradient(248deg, rgba(238, 241, 250, 0.20) 1.56%, rgba(238, 224, 248, 0.00) 38.9%, rgba(116, 78, 199, 0.20) 102.14%);
}

.process-desc {
    font-size: 16px;
    line-height: 28px;
    color: #001748;
}

.process-list {
    display: flex;
    gap: 32px;
    width: 100%;
    justify-content: center;
}

.process-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px 24px 32px;
    background: #FFF;
    border: 1px solid #E0EEFE;
    border-radius: 24px;
}

.process-step {
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
}

.process-img {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-img img {
    display: block;
    width: 100%;
    height: auto;
}

.process-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.process-name {
    margin: 0;
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #181D27;
}

.process-sub {
    font-size: 16px;
    line-height: 20px;
    color: #535862;
}

@media (max-width: 1200px) {
    .process-box {
        padding: 48px;
    }

    .process-list {
        gap: 24px;
        flex-wrap: wrap;
    }

    .process-item {
        flex: 1 1 calc(50% - 12px);
    }
}

@media (max-width: 979px) {
    .process-box {
        padding: 40px 32px;
        gap: 32px;
    }

    .process-list {
        gap: 20px;
    }

    .process-item {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .process-box {
        padding: 32px 20px;
        gap: 24px;
    }

    .process-list {
        flex-direction: column;
        gap: 16px;
    }

    .process-item {
        flex: 0 0 auto;
        width: 100%;
        padding: 20px 20px 24px;
    }

    .process-img {
        width: 140px;
        height: 140px;
    }

    .process-name {
        font-size: 18px;
        line-height: 26px;
    }

    .process-sub {
        font-size: 15px;
        line-height: 22px;
    }

    .process-cta {
        max-width: 100%;
    }
}

/* #endregion */

/* #region guide */
.guide-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.guide-title {
    text-align: center;
}

.guide-list {
    display: flex;
    gap: 32px;
    width: 100%;
    justify-content: center;
}

.guide-item {
    flex: 0 0 228.8px;
    max-width: 228.8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px 24px 32px;
    background: #FFF;
    border: 1px solid #E0EEFE;
    border-radius: 24px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #181D27;
    transition: all ease 0.3s;
}

.guide-item:hover {
    background: #F9F5FF;
    border-color: #9E77ED;
}

.guide-logo {
    width: 112px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 9999px;
    background: #FFF;
}

.guide-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.guide-name {
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    color: #181D27;
}

.guide-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 140px;
    padding: 14px 24px;
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    border-radius: 12px;
}

.guide-link span {
    background: linear-gradient(180deg, #8577FF 0%, #6130E9 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.guide-link img {
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.guide-item:hover .guide-link img {
    transform: translateX(4px);
}

.guide-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    max-width: 228.8px;
    padding: 14px 24px;
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    text-decoration: none;
    border-radius: 12px;
}

@media (max-width: 1200px) {
    .guide-box {
        padding: 48px 32px 24px;
    }

    .guide-list {
        gap: 24px;
        flex-wrap: wrap;
    }

    .guide-item {
        flex: 1 1 calc(25% - 24px);
        max-width: none;
    }
}

@media (max-width: 979px) {
    .guide-box {
        padding: 40px 24px 24px;
        gap: 32px;
    }

    .guide-item {
        flex: 1 1 calc(50% - 12px);
    }
}

@media (max-width: 767px) {
    .guide-box {
        padding: 32px 20px 24px;
        gap: 24px;
    }

    .guide-list {
        flex-direction: column;
        gap: 16px;
    }

    .guide-item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        text-align: left;
        gap: 12px;
        padding: 16px;
        text-align: center;
    }

    .guide-logo {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
    }

    .guide-name {
        flex: 1 1 calc(100% - 76px);
        text-align: left;
        font-size: 18px;
        line-height: 26px;
        text-align: center;
    }

    .guide-link {
        width: 100%;
        min-width: 0;
        padding: 10px 16px;
        justify-content: center;
    }

    .guide-all {
        max-width: 100%;
    }
}
/* #endregion */