/*#region agentic-tokens */
:root {
    --ai-primary: linear-gradient(98deg, #3794FF 8.87%, #D52BFF 100%);
    --ai-primary-border: #3794FF;
    --text-primary: #181D27;
    --stroke-neutral: #D5D7DA;
    --green-gradient: linear-gradient(180deg, #0DD57D 0%, #0FA976 100%);
}
/*#endregion */

/*#region common */
.ht-sitecontainer {
    background: unset;
}

.home-page {
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #181D27;
}

.home-page .ht-container {
    max-width: 1300px;
}

.home-page a {
    color: inherit;
    text-decoration: none;
}

.nowrap {
    white-space: nowrap;
}

.text-gradient {
    background: var(--xanh-l, linear-gradient(180deg, #0DD57D 0%, #0FA976 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-p {
    padding: 50px 0;
}

.text-bold {
    font-family: Inter Bold, Arial, sans-serif;
}

.text-semibold {
    font-family: Inter SemiBold, Arial, sans-serif;
}

.text-center {
    text-align: center;
}

.default-title {
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 36px;
    text-align: center;
}

@media (max-width: 979px) {
    .default-title {
        font-size: 28px;
    }

    .section-p {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .default-title {
        font-size: 24px;
    }

    .section-p {
        padding: 30px 0;
    }
}

/*#endregion */

/*#region agent-search*/
.site-header__search {
    display: none;
}

.agent-search {
    background: url(/ke-toan/sites/images/home/bg-agent-search.webp) no-repeat center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.agent-search-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.agent-search-avatar {
    width: 110px;
    height: 110px;
    margin-bottom: 24px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.32);
    padding: 8px;
    border-radius: 50%;
}

.agent-search-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
    box-shadow: 0px 10px 30px 0px rgba(54, 84, 255, 0.2);
}

.agent-search-title {
    font-family: 'Inter SemiBold', sans-serif;
    font-size: 42px;
    margin: 0 0 28px;
    line-height: 54px;
    text-shadow: none;
    color: #FFF;
}

.agent-search-box {
    width: 100%;
    max-width: 924px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 32px rgba(80, 60, 200, 0.18);
    background-image: linear-gradient(#fff, #fff), linear-gradient(97.76deg, #1482FF 8.87%, #CF11FF 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 3px solid transparent;
}

.agent-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 18px;
    flex-shrink: 0;
    pointer-events: none;
}

.agent-search-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.agent-search-form {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.agent-search-input {
    flex: 1;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 16px;
    color: #333;
    padding: 16px 16px 16px 12px !important;
    border-radius: 9999px !important;
    min-width: 0;
}

.agent-search-input::placeholder {
    color: #A4A7AE;
    font-size: 16px;
}

.agent-search-btn {
    display: none;
}

@media (max-width: 979px) {
    .agent-search-title {
        font-size: 28px;
        line-height: 40px;
    }

    .agent-search-inner {
        padding: 40px 20px 48px;
    }

    .agent-search-avatar {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 767px) {
    .agent-search-title {
        font-size: 22px;
        line-height: 32px;
        margin-bottom: 20px;
    }

    .agent-search-inner {
        padding: 36px 16px 40px;
    }

    .agent-search-input {
        font-size: 14px;
        padding: 12px 12px 12px 10px;
    }

    .agent-search-icon img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 479px) {
    .agent-search-title {
        font-size: 18px;
    }
}

/*#endregion*/

/*#region agent-banner*/
.agent-banner {
    padding: 64px 0;
}

.agent-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.agent-banner-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-text {
    color: #1F1F1F;
    font-size: 32px;
    font-family: 'Inter SemiBold';
}

.title-highlight {
    font-size: 32px;
    font-family: 'Inter SemiBold';
    background: var(--AI_Primary, linear-gradient(98deg, #3794FF 8.87%, #D52BFF 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #12B76A;
    color: #039855 !important;
    font-size: 14px;
    font-family: 'Inter Medium';
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.agent-banner-stats {
    display: flex;
    align-items: center;
    gap: 48px;
}

.stats-label {
    color: #1F1F1F;
    font-size: 32px;
    font-family: 'Inter SemiBold';
    white-space: nowrap;
}

.stats-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.stats-number {
    color: #3794FF;
    font-size: 64px;
    font-family: 'Inter ExtraBold';
    background: linear-gradient(97.76deg, #3794FF 8.87%, #D52BFF 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-desc {
    color: #1F1F1F;
    font-size: 24px;
    font-family: 'Inter';
    width: max-content;
}

@media (max-width: 979px) {
    .agent-banner-top {
        flex-direction: column;
        align-items: center;
    }

    .agent-banner-title {
        text-align: center;
    }

    .agent-banner-stats {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .stats-label {
        font-size: 22px;
    }

    .stats-number {
        font-size: 40px;
    }

    .stats-desc {
        font-size: 18px;
        width: auto;
    }
}

/*#endregion*/

/*#region overview */
.overview {
    padding: 64px 0;
}

.overview-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.overview-item {
    background: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    transition: box-shadow ease 0.3s;
}

/* .overview-item:hover {
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
} */

.overview-item__image {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.overview-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overview-item__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.overview-item__heading {
    display: flex;
    align-items: center;
}

.overview-item__title {
    font-family: 'Inter SemiBold', Arial, sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #181D27;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overview-item__desc {
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #717680;
    margin: 0;
}

@media (max-width: 979px) {
    .overview-wrap {
        gap: 16px;
    }

    .overview-item__image {
        height: 160px;
    }

    .overview-item__title {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .overview {
        padding: 30px 0;
    }

    .overview-wrap {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/*#endregion */

/*#region tutorial */
.tutorial {
    padding: 64px 12px 74px;
    background: #F4F7FF;
}

.tutorial .default-title {
    font-family: Inter Bold, Arial, sans-serif;
    font-size: 32px;
    color: #181D27;
    letter-spacing: -0.2px;
}

.tutorial-navbar {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 32px auto 0;
    border-bottom: 1px solid #C9CCDB;
    overflow-x: auto;
    overflow-y: hidden;
}

.tutorial-navbar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 64px;
    padding: 8px 20px;
    cursor: pointer;
    color: #101828;
    font-family: Inter SemiBold, Arial, sans-serif;
    font-size: 18px;
    white-space: nowrap;
    border-bottom: 4px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s;
}

.tutorial-navbar__item.active {
    color: #5D5FEF;
    border-bottom: 4px solid #5D5FEF;
}

.tutorial-navbar__item--disabled {
    cursor: default;
    color: #9CA3AF;
    pointer-events: none;
}

.tutorial-list {
    display: none;
    grid-template-columns: repeat(7, 162px);
    gap: 24px;
    justify-content: center;
    min-height: 348px;
}

/* Tab 2: Thiáº¿t láº­p â€” 4 items, 1 hĂ ng */
.tutorial-content .tutorial-list:nth-child(2) {
    grid-template-columns: repeat(4, 162px);
}

.tutorial-content .tutorial-list:nth-child(3) {
    grid-template-columns: repeat(2, 290px);
}

/* Tab 4: Mobile App â€” 3 items, 1 hĂ ng */
.tutorial-content .tutorial-list:nth-child(4) {
    grid-template-columns: repeat(3, 162px);
}

.tutorial-list.active {
    display: grid;
}

.tutorial-nav-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px auto 0;
    width: 100%;
    max-width: 1410px;
}

.tutorial-nav-btn {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0px 8px 11px rgba(141, 141, 141, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    align-self: center;
}

.tutorial-nav-btn:hover {
    background: rgba(0, 0, 0, 0.12);
}

.tutorial-nav-btn img {
    width: 32px;
    height: 32px;
    display: block;
}

.tutorial-nav-btn.hidden {
    visibility: hidden;
    pointer-events: none;
}

.tutorial-content {
    min-width: 0;
    width: 100%;
}

.tutorial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 12px;
    min-height: 162px;
    background-color: #FFF;
    border-radius: 16px;
    border: 1px solid #C9CCDB;
    box-shadow: 0px 0.5px 0.5px rgba(25, 33, 61, 0.04);
    transition: border-color 0.2s;
}

.tutorial-item__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 12px;
    border: 0.5px solid #C9CCDB;
    background: linear-gradient(205.82deg, #FAFAFA 16.3%, #F0F6FE 86.48%);
    box-shadow: inset 0px -1.167px 1.167px 0px rgba(150, 161, 172, 0.12);
}

.tutorial-item__icon-wrap img {
    width: 40px;
    height: 40px;
    display: block;
}

.tutorial-item:hover {
    border-color: #5D5FEF;
}

.tutorial-item:hover .tutorial-item__icon-wrap {
    background: #5D5FEF;
    border-color: #5D5FEF;
    box-shadow: none;
}

.tutorial-item:hover .tutorial-item__icon-wrap img {
    filter: brightness(0) invert(1);
}

.tutorial-item__title {
    color: #717680;
    font-family: Inter Medium, Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
}

.tutorial-item:hover .tutorial-item__title {
    color: #5D5FEF;
    font-family: Inter SemiBold, Arial, sans-serif;
}

@media (max-width: 1260px) {
    .tutorial .default-title {
        font-size: 28px;
    }

    .tutorial-navbar__item {
        font-size: 16px;
        padding: 8px 14px;
        height: 56px;
    }

    .tutorial-nav-wrap {
        width: 100%;
    }

    .tutorial-content {
        flex: 1;
    }

    .tutorial-list,
    .tutorial-content .tutorial-list:nth-child(2),
    .tutorial-content .tutorial-list:nth-child(3),
    .tutorial-content .tutorial-list:nth-child(4) {
        grid-template-columns: repeat(auto-fill, minmax(130px, 162px));
        height: auto;
        align-content: start;
    }

    .tutorial-nav-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .tutorial {
        padding: 40px 12px;
    }

    .tutorial .default-title {
        font-size: 22px;
    }

    .tutorial-navbar {
        margin: 24px auto 0;
        width: 100%;
        justify-content: flex-start;
    }

    .tutorial-navbar__item {
        font-size: 14px;
        padding: 8px 12px;
        height: 48px;
    }

    .tutorial-nav-wrap {
        width: 100%;
    }

    .tutorial-list,
    .tutorial-content .tutorial-list:nth-child(2),
    .tutorial-content .tutorial-list:nth-child(3),
    .tutorial-content .tutorial-list:nth-child(4) {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        margin: 24px auto 0;
        gap: 12px;
    }

    .tutorial-item {
        min-height: 130px;
        border-radius: 12px;
    }
}

/*#endregion */

/*#region header-agentic */
body.home .site-header {
    box-shadow: 0 1px 0 #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 100;
}

body.home .site-header__banner {
    background: #fff;
    min-height: 72px;
}

body.home .site-header__banner .ht-container {
    padding-left: 48px;
    padding-right: 48px;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 72px;
}

body.home .site-logo {
    flex-shrink: 0;
}

body.home .nav-header {
    flex: 1;
}

body.home .nav-header__menuwrapper {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.home .nav-header__menuwrapper > li > a {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 8px 12px;
    font-size: 16px;
    font-family: 'Inter Medium', Arial, sans-serif;
    color: #181D27;
    text-decoration: none;
    white-space: nowrap;
}

body.home .nav-header__menuwrapper > li > a:hover {
    color: #5D5FEF;
}

/* Header searchbox â€” pill style */
body.home .site-header-v2__search {
    margin-left: auto;
    flex-shrink: 0;
}

body.home .site-header-v2__search .hkb-searchbox {
    max-width: 400px;
    width: 400px;
}

body.home .site-header-v2__search .hkb-searchbox input[type="text"] {
    border-radius: 9999px;
    border: 1px solid #D5D7DA;
    height: 40px;
    padding: 8px 12px;
    font-size: 14px;
    color: #181D27;
}

body.home .site-header-v2__search .hkb-searchbox input[type="text"]::placeholder {
    color: #A4A7AE;
}

/* New badge cho nav item */
.nav-new-badge {
    background: #F04438;
    color: #fff;
    font-size: 12px;
    font-family: 'Inter SemiBold', Arial, sans-serif;
    border-radius: 9999px;
    padding: 2px 8px;
    margin-left: 4px;
    line-height: 18px;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 979px) {
    body.home .site-header__banner .ht-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    body.home .nav-header__menuwrapper {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    body.home .site-header-v2__search .hkb-searchbox {
        max-width: 280px;
        width: 280px;
    }
}

@media (max-width: 767px) {
    body.home .site-header-v2__search {
        display: none;
    }

    body.home .site-header__banner .ht-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}
/*#endregion */