/* #region common */
.htx-page {
    position: relative;
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #181D27;
}

.htx-page .container {
    width: 100%;
    max-width: 1310px;
}

.section-p {
    padding: 50px 0;
}

.nowrap {
    white-space: nowrap;
}

.text-center {
    text-align: center;
}

.text-medium {
    font-family: Inter Medium;
}

.text-semibold {
    font-family: Inter SemiBold;
}

.default-title {
    font-family: Inter Bold;
    font-weight: normal;
    font-size: 32px;
    line-height: 1.25;
    letter-spacing: -0.2px;
    margin: 0;
}

.pb-title {
    padding-bottom: 12px;
}

.default-subtitle {
    font-size: 20px;
    color: #414651;
}

.default-desc {
    background: url(/sites/amis/images/pages/htx/ic-check.svg) no-repeat top left;
    background-size: 24px;
    padding-left: 32px;
    color: #414651;
    letter-spacing: -0.2px;
}

.gradient-text {
    background: linear-gradient(90deg, #00AF9D 0%, #3FD070 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 500% auto;
    animation: textShine 5s ease-in-out infinite alternate;
}

.play-video-item {
    cursor: pointer;
    position: relative;
}

.cta-group {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.justify-center {
    justify-content: center;
}

a.base-btn {
    position: relative;
    font-family: Inter SemiBold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 12px;
    transition: all ease 0.5s;
    box-shadow: 0 8px 30px -6px rgba(116, 135, 255, 0.05), 0 8px 30px -4px rgba(10, 27, 137, 0.03);
}

a.primary-btn {
    background: linear-gradient(45deg, #099250 0%, #3CCB7F 100%);
    padding: 14px 26px;
    color: #FFF;
}

a.second-btn {
    border: 2px solid transparent;
    padding: 12px 24px;
    background: linear-gradient(#FFF, #FFF) padding-box, linear-gradient(45deg, #099250 0%, #3CCB7F 100%) border-box;
    color: #099250;
}

a.third-btn {
    background-color: #FFF;
    padding: 14px 24px;
    color: #099250;
    border: 1px solid 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(12px);
    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-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 100%;
}

.bg-play-btn {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: #16B364;
    animation: pulse 1.2s ease infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@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) {
    .default-title {
        font-size: 28px;
    }

    .default-subtitle {
        font-size: 18px;
    }

    .section-p {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .default-title {
        font-size: 24px;
    }

    .cta-group {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    a.primary-btn {
        padding: 14px 18px;
    }

    .play-btn {
        width: 36px;
        height: 36px;
    }

    .section-p {
        padding: 30px 0;
    }
}

@media (max-width: 525px) {
    .cta-group:has(> :nth-child(3))> :first-child {
        width: 100%;
        justify-content: center;
        max-width: 332px;
        margin: 0 auto;
    }
}

@media (max-width: 389px) {
    .cta-group {
        display: grid;
    }
}

/* #endregion */

/* #region hero */
.hero {
    background:
        radial-gradient(53.08% 75.29% at 53.85% 106.49%, rgba(115, 226, 163, 0.4) 0%, rgba(170, 240, 196, 0.4) 26.58%, rgba(237, 252, 242, 0.4) 66.34%, rgba(237, 252, 242, 0) 91.01%),
        radial-gradient(49.27% 88.24% at 58.12% 123.56%, rgba(59, 191, 123, 0.8) 0%, rgba(217, 249, 236, 0.8) 57.87%, rgba(255, 252, 245, 0) 86.48%),
        radial-gradient(58.45% 68.78% at 52.14% 110.08%, rgba(255, 245, 237, 0.4) 0%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(0deg, #FDFFFE, #FDFFFE);
    padding: 120px 0 100px;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: Inter Bold;
    font-size: 52px;
    line-height: 60px;
    margin: 0;
    padding-bottom: 32px;
}

.hero-desc {
    font-size: 20px;
    color: #181D27;
    max-width: 1120px;
    margin: 0 auto;
}

.hero-cta {
    padding: 32px 0 48px;
}

.hero-wrap {
    display: flex;
    gap: 32px;
    position: relative;
}

.hero-image {
    position: relative;
    width: 733px;
    aspect-ratio: 733/508;
    max-width: 100%;
}

.hero-image .hero-image-main {
    position: absolute;
    left: -6%;
    width: 108%;
    max-width: 777px;
    z-index: 1;
}

.hero-image .hero-image-shadow {
    position: absolute;
    max-width: 869px;
    width: 119%;
    top: -42%;
    left: -30%;
    z-index: 0;
}

.hero-register {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 515px;
    border: 3px solid transparent;
    background:
        linear-gradient(#FFF, #FFF) padding-box,
        linear-gradient(43.36deg, rgba(9, 146, 80, 0.4) -0.05%, rgba(170, 240, 196, 0.4) 35.11%, rgba(60, 203, 127, 0.4) 100.81%) border-box;
    border-radius: 24px;
    overflow: hidden;
    padding: 8px;
}

.hero-register-title {
    font-family: Inter SemiBold;
    font-size: 20px;
    text-align: center;
    color: #181D27;
    padding: 24px 24px 0;
}

@media (max-width: 1024px) {
    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
        padding-bottom: 12px;
        display: block;
    }

    .hero-wrap {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .hero-cta {
        padding: 16px 0 24px;
    }

    .hero-image img {
        width: 112%;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 30px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 18px;
    }

    .hero-register {
        padding: 0;
    }

    .hero-register-title {
        font-size: 18px;
    }
}

/* #endregion */

/* #region challenges */
.challenges {
    padding-top: 100px;
}

.challenges .linear-text {
    background: linear-gradient(90deg, #02B09D 0%, #36CC77 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.challenges-wrap {
    display: flex;
    gap: 32px;
}

.challenges-left {
    width: 405px;
    flex-shrink: 0;
}

.challenges-img {
    margin-top: 40px;
}

.challenges-right {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.challenges-col {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.img-agent-1 {
    position: absolute;
    top: -70px;
    right: -32px;
}

.challenge-item {
    border: 1px solid #AAF0C4;
    border-radius: 24px;
    padding: 24px 24px 32px;
    margin-bottom: 32px;
    background: #FFF;
}

.challenge-item:last-child {
    margin-bottom: 0;
}

.ci-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
}

.ci-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.ci-title {
    font-family: Inter SemiBold;
    font-size: 20px;
    line-height: 28px;
}

.ci-desc {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    color: #252B37;
}

@media (max-width: 1299px) {
    .challenges-right {
        gap: 24px;
    }

    .challenge-item {
        padding: 16px;
        margin-bottom: 24px;
    }

    .ci-title {
        font-size: 18px;
    }
}

@media (max-width: 1099px) {

    .challenges-img,
    .img-agent-1 {
        display: none;
    }

    .challenges-left {
        width: 100%;
    }

    .challenges-wrap {
        flex-direction: column;
    }

    .challenges .default-title {
        text-align: center;
    }

    .img-agent-1 {
        top: -132px;
        right: -40px;
    }
}

@media (max-width: 979px) {
    .challenges {
        padding-top: 80px;
    }
}

@media (max-width: 767px) {
    .challenges {
        padding-top: 60px;
    }

    .challenges-wrap {
        gap: 24px;
    }

    .challenges-right {
        flex-direction: column;
        gap: 16px;
    }

    .challenge-item {
        margin-bottom: 16px;
    }

    .img-agent-1 {
        display: none;
    }

    .challenges-left {
        min-width: unset;
    }
}

/* #endregion */

/* #region solution */
.solution-wrap {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(22, 179, 100, 0.00) 33.09%, rgba(22, 179, 135, 0.20) 86.86%), var(--Brand-50, #EDFCF2);
    padding: 96px 64px 0;
    overflow: hidden;
}

.solution-cta {
    padding: 32px 0 48px;
}

.solution-video {
    max-width: 988px;
    margin: 0 auto;
    padding: 20px 20px 0;
    border-radius: 24px 24px 0 0;
    border: 3px solid #FFF;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.60);
    box-shadow: 0 8px 30px -6px rgba(116, 135, 255, 0.05), 0 8px 30px -4px rgba(10, 27, 137, 0.03);
}

@media (max-width: 767px) {
    .solution-wrap {
        padding: 32px 12px 0;
    }
}

/* #endregion */

/* #region type */
.type {
    background: url(/sites/amis/images/pages/htx/bg-type.webp) no-repeat center;
    background-size: cover;
}

.type-cta {
    padding: 32px 0 40px;
}

.type-wrap {
    display: flex;
    gap: 30px;
}

.type-item {
    flex: 1;
    min-width: 0;
    border-radius: 16px;
    overflow: hidden;
}

.type-img {
    width: 100%;
    height: auto;
    aspect-ratio: 406/260;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.type-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.type-info {
    padding-top: 24px;
}

.type-name {
    font-family: Inter SemiBold;
    font-size: 20px;
    line-height: 28px;
    color: #181D27;
    padding-bottom: 4px;
}

.type-desc {
    font-size: 16px;
    line-height: 24px;
    color: #535862;
    letter-spacing: -0.2px;
}

@media (max-width: 979px) {
    .type-wrap {
        gap: 24px;
    }

    .type-info {
        padding: 16px 12px;
    }

    .type-name {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .type-wrap {
        flex-direction: column;
    }

    .type-cta {
        padding: 24px 0;
    }

    .type-item {
        background-color: #FFF;
        box-shadow: 0 8px 30px -6px rgba(116, 135, 255, 0.05), 0 8px 30px -4px rgba(10, 27, 137, 0.03);
    }
}

/* #endregion */

/* #region feature */
.feature {
    padding: 100px 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 96px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 64px;
}

.feature-item-reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex-shrink: 0;
    width: 48%;
    max-width: 608px;
    border-radius: 24px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    display: block;
}

.feature-content {
    flex: 1;
}

.feature-desc {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 0;
}

.feature-cta {
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .feature-item {
        gap: 40px;
    }

    .feature-image {
        width: 46%;
    }
}

@media (max-width: 979px) {
    .feature {
        padding: 80px 0;
    }

    .feature-list {
        gap: 48px;
    }

    .feature-item,
    .feature-item-reverse {
        flex-direction: column;
        gap: 28px;
    }

    .feature-image {
        width: 100%;
        max-width: 100%;
    }

    .feature-desc {
        gap: 12px;
        padding: 16px 0 24px;
    }
}

@media (max-width: 767px) {
    .feature {
        padding: 60px 0;
    }

    .feature-list {
        gap: 36px;
    }
}

/* #endregion */

/* #region certificate */
.certificate-bg {
    background: radial-gradient(47.63% 183.76% at 47.68% 202.55%, rgba(188, 233, 206, 0.8) 25.08%, #FFFFFF 100%);
    padding: 100px 0;
}

.cert-wrap {
    padding-top: 40px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 140px;
    flex: 1;
    background-color: #FFF;
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 24px 50px -8px rgba(10, 27, 137, 0.03), 0 4px 8.7px 4px rgba(10, 27, 137, 0.02);
}

.cert-item img {
    max-height: 100%;
}

@media (max-width: 979px) {
    .cert-wrap {
        padding-top: 28px;
        gap: 24px;
    }

    .cert-item {
        flex: unset;
        width: calc(33.33% - 24px);
    }

    .certificate-bg {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .cert-wrap {
        padding-top: 24px;
        gap: 16px;
    }

    .cert-item {
        width: calc(50% - 16px);
    }

    .certificate-bg {
        padding: 30px 0;
    }
}

/* #endregion */

/* #region Prize */
.prize-wrap {
    padding: 40px 60px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.prize-item {
    max-width: 268px;
    margin: 0 auto;
}

.prize-cup {
    aspect-ratio: 267/245;
    max-width: 267px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.prize-item:hover .prize-cup {
    background: url(/sites/amis/images/pages/htx/bg-circle.png) no-repeat center;
    background-size: cover;
}

.prize-title {
    font-family: Inter Medium;
    font-size: 18px;
    text-align: center;
}

.prize-wrap.owl-carousel .owl-item img {
    object-fit: contain;
    width: auto;
}

.prize-wrap.owl-theme .owl-dots .owl-dot span {
    width: 16px;
    height: 16px;
    background: #E9EAEB;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #16B364;
}

.prize-wrap.owl-theme .owl-nav {
    margin: 0;
}

.prize-wrap.owl-theme .owl-nav [class*='owl-'] {
    display: none;
    margin: 0;
}

.prize-wrap:hover .owl-nav [class*='owl-'] {
    display: block;
}

.prize-wrap.owl-theme .owl-nav [class*='owl-']:hover {
    background-color: transparent;
}

.prize-wrap.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
}

.prize-wrap.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    top: 50%;
    left: -5px;
    transform: translateY(-50%);
}

@media (max-width: 979px) {

    .prize .default-subtitle br,
    .prize-title br {
        display: none;
    }

    .prize-wrap {
        padding: 32px 0 0;
    }
}

@media (max-width: 767px) {
    .prize-wrap {
        padding: 24px 0 0;
    }
}

/* #endregion */

/* #region news */
.news-section-bg {
    background: linear-gradient(82deg, var(--Green-50, #EDFCF2) -4.47%, #F7FFFA 109.53%);
    padding: 96px 0;
}

.news-wrap {
    padding-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 31px;
}

.news-item {
    display: block;
    background: #FFF;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 30px -4px rgba(10, 27, 137, 0.03), 0 8px 30px -6px rgba(116, 135, 255, 0.05);
}

.news-item-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 358/240;
    overflow: hidden;
    border-radius: 16px;
}

.news-item-img-wrap:hover .news-item-img {
    transform: scale(1.05);
}

.news-item-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform ease .4s;
}

.news-item-title {
    font-family: Inter SemiBold;
    color: #181D27;
    font-size: 20px;
    line-height: 28px;
    margin: 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-title:hover {
    color: #099250;
}

.news-item-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.news-item-logo {
    display: block;
    height: 38px;
    width: auto;
}

.news-item-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #535862;
    white-space: nowrap;
}

.news-cta {
    padding-top: 40px;
}

@media (max-width: 979px) {
    .news-wrap {
        padding-top: 32px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .news-section-bg {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .news-section-bg {
        padding: 30px 0;
    }

    .news-item {
        padding: 16px;
    }

    .news-item-title {
        font-size: 18px;
        margin: 16px 0;
    }

    .news-cta {
        padding-top: 24px;
    }
}

/* #endregion */

/* #region Customer */
.customer-wrap {
    padding-top: 40px;
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.customer-item {
    width: 296px;
    box-shadow: 0 2px 20px -6px rgba(116, 135, 255, 0.12), 0 12px 46px -4px rgba(10, 27, 137, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.customer-item-head {
    font-family: Inter SemiBold;
    font-size: 18px;
    color: #FFF;
    padding: 8px 16px;
    background: linear-gradient(0deg, #099250, #099250);
    text-align: center;
}

.customer-item-content {
    padding: 16px 16px 36px;
}

@media (max-width: 979px) {
    .customer-wrap {
        padding-top: 30px;
        gap: 16px;
    }

    .customer .default-subtitle br {
        display: none;
    }
}

@media (max-width: 767px) {
    .customer-wrap {
        padding-top: 24px;
    }

    .customer-item-head {
        font-size: 16px;
    }
}

/* #endregion */

/* #region register */
.register-page {
    background: url(/sites/amis/images/pages/htx/bg-register.webp) no-repeat center;
    background-size: cover;
    padding: 96px 0;
    min-height: 768px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.register-page .default-title, .register-page .default-subtitle {
    color: #FFF;
}

.register-page-wrap {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.register-page-form {
    width: 100%;
    max-width: 515px;
    height: fit-content;
    border-radius: 16px;
    background: linear-gradient(#FFF, #FFF) padding-box, linear-gradient(43.36deg, rgba(22, 179, 100, 0.4) -0.05%, rgba(170, 240, 196, 0.4) 35.11%, rgba(60, 203, 127, 0.4) 100.81%) border-box;
    overflow: hidden;
    padding: 8px;
}

.register-page-form-title {
    font-family: Inter SemiBold;
    font-size: 20px;
    text-align: center;
    padding: 24px 24px 0;
    color: #252B37;
}

.register-page-image {
    max-width: 660px;
    margin: auto;
    position: absolute;
    bottom: -110px;
}

@media (max-width: 1100px) {
    .register-page-wrap {
        gap: 24px;
    }
}

@media (max-width: 979px) {
    .register-page-wrap {
        flex-direction: column;
        align-items: center;
    }

    .register-page-image {
        display: none;
    }

    .register-page br {
        display: none;
    }

    .register-page-form {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .register-page {
        padding: 40px 0;
        min-height: unset;
    }
}

/* #endregion */