/* ============================================================
   MISA iGOV — Trang chủ
   ============================================================ */
body {
    font-family: Inter, sans-serif;
    color: #181d27;
    font-size: 16px;
    line-height: 1.5;
    /* Không dùng `overflow: hidden` ở đây: khi html là overflow:visible, giá trị này
       được propagate lên viewport và khoá luôn scroll dọc của cả trang. */
    overflow-x: hidden
}

* {
    box-sizing: border-box
}

h1,
h2,
h3,
p,
ul {
    margin: 0
}

ul {
    padding: 0;
    list-style: none
}

img {
    display: block;
    max-width: 100%
}

a {
    color: #2662ff
}

.nowrap {
    white-space: nowrap;
    margin: 0 1px
}

/* ---------- Layout dùng chung ---------- */
.igov-container {
    width: 100%;
    max-width: 1328px;
    margin: 0 auto;
    padding: 0 24px
}

.igov-grad-text {
    background: linear-gradient(26.099deg, #1b49f5 0%, #5993ff 131.14%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent
}

/* ---------- 1. HERO ---------- */
.igov-hero {
    position: relative;
    padding: 64px 0 96px;
    background: #fff url(/sites/igov/images/pages/igov-home/hero-bg.webp) no-repeat center bottom;
    background-size: cover
}

.igov-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 578fr) minmax(0, 670fr);
    gap: 32px;
    align-items: center
}

.igov-hero__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start
}

.igov-hero__title {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start
}

.igov-hero__tag {
    display: inline-block;
    padding: 12px 32px;
    border: 2px solid #7c86ff;
    border-radius: 29.048px;
    background: #fff;
    color: #252b37;
    font-size: 20px;
    font-family: Inter SemiBold;
    line-height: 28px;
    letter-spacing: -0.2px;
    text-align: center;
    box-shadow: 0 0 1.452px 0 rgba(44, 58, 114, .05), 0 2.905px 8.714px 0 rgba(44, 58, 114, .05), 0 14.524px 26.143px 0 rgba(0, 44, 219, .1)
}

.igov-hero__heading {
    display: flex;
    flex-direction: column;
    font-size: 40px;
    font-family: Inter Bold;
    line-height: 52px;
    letter-spacing: 0;
    color: #181d27
}

.igov-hero__desc {
    max-width: 532px;
    color: #252b37;
    font-size: 20px;
    line-height: 28px
}

.igov-hero__desc strong {
    font-family: Inter Bold
}

.igov-hero__graphic img {
    width: 100%;
    height: auto
}

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
    .igov-hero__heading {
        font-size: 34px;
        line-height: 44px
    }

    .igov-hero__tag {
        padding: 10px 24px;
        font-size: 18px;
        line-height: 26px
    }

    .igov-hero__desc {
        font-size: 18px;
        line-height: 26px
    }
}

@media (max-width: 991px) {
    .igov-hero {
        padding: 48px 0 64px
    }

    .igov-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px
    }

    .igov-hero__graphic {
        order: 2
    }
}

@media (max-width: 767px) {
    .igov-hero {
        padding: 32px 0 48px
    }

    .igov-hero__heading {
        font-size: 28px;
        line-height: 36px
    }

    .igov-hero__tag {
        padding: 8px 16px;
        font-size: 15px;
        line-height: 22px
    }

    .igov-hero__desc {
        font-size: 16px;
        line-height: 24px
    }

    .igov-hero__content {
        gap: 16px
    }
}

/* ---------- 2. TESTIMONIAL ---------- */
.igov-testimonial {
    position: relative;
    padding: 96px 0 0;
    overflow: hidden
}

.igov-testimonial__inner {
    position: relative
}

.igov-testimonial__glow {
    position: absolute;
    left: 309px;
    top: 182px;
    width: 1303px;
    height: 462px;
    background: url(/sites/igov/images/pages/igov-home/igov-testi-glow.svg) no-repeat center/100% 100%;
    pointer-events: none
}

.igov-testimonial__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #1f1f1f;
    font-size: 32px;
    font-family: Inter Bold;
    line-height: 40px;
    letter-spacing: -0.2px;
    text-align: center
}

.igov-testimonial__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    margin-top: 40px;
    box-shadow: 0 8px 30px 0 rgba(116, 135, 255, .05), 0 8px 30px 0 rgba(10, 27, 137, .03);
    padding-bottom: 10px;
}

.igov-testimonial__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 24px 24px 32px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 30px -6px rgba(116, 135, 255, 0.05), 0 8px 30px -4px rgba(10, 27, 137, 0.03);
}

.igov-testimonial__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px
}

.igov-testimonial__icon img {
    width: auto;
    max-width: none
}

.igov-testimonial__card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%
}

.igov-testimonial__card-title {
    color: #101828;
    font-size: 20px;
    font-family: Inter SemiBold;
    line-height: 28px
}

.igov-testimonial__card-desc {
    color: #475467;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px
}

@media (max-width: 991px) {
    .igov-testimonial__list {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 767px) {
    .igov-testimonial {
        padding: 48px 0 0
    }

    .igov-testimonial__title {
        font-size: 26px;
        line-height: 34px
    }

    .igov-testimonial__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 24px
    }
}

/* ---------- 3. SẢN PHẨM ---------- */
.igov-products {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
    background: #fff url(/sites/igov/images/pages/igov-home/prod-pattern.webp) no-repeat center/cover;
}

.igov-products__main {
    position: relative
}

.igov-products__glow {
    position: absolute;
    left: 304px;
    top: -112px;
    width: 936px;
    height: 913px;
    background: url(/sites/igov/images/pages/igov-home/igov-prod-glow.svg) no-repeat center/100% 100%;
    pointer-events: none;
    z-index: 0
}

.igov-products__title {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    color: #181d27;
    font-size: 32px;
    font-family: Inter Bold;
    line-height: 40px;
    letter-spacing: -0.2px;
    text-align: center
}

.igov-products__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px
}

.igov-prod-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    border: 3px solid rgba(255, 255, 255, .4);
    border-radius: 24px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 8px 30px 0 rgba(116, 135, 255, .05), 0 8px 30px 0 rgba(10, 27, 137, .03)
}

.igov-prod-card__head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%
}

.igov-prod-card__name {
    color: #181d27;
    font-size: 20px;
    font-family: Inter SemiBold;
    line-height: 28px
}

.igov-prod-card__sub {
    color: #252b37;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px
}

.igov-prod-card__line {
    width: 100%;
    height: 0;
    border-top: 1px solid #e9eaeb
}

.igov-prod-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 24px;
    width: 100%
}

.igov-prod-item {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%
}

.igov-prod-item img {
    flex: 0 0 auto;
    width: 48px;
    height: 48px
}

.igov-prod-item__text {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    min-width: 0
}

.igov-prod-item__name {
    color: #181d27;
    font-size: 16px;
    font-family: Inter SemiBold;
    line-height: 24px;
    letter-spacing: -0.2px
}

.igov-prod-item__desc {
    color: #6b7280;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px
}

.igov-prod-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #2563eb;
    font-size: 16px;
    font-family: Inter SemiBold;
    line-height: 24px;
    letter-spacing: -0.2px;
    text-decoration: none
}

.igov-prod-card__link:hover {
    text-decoration: underline
}
.igov-prod-card__link:hover img{
    transform: translateX(5px);
    transition: 0.3s ease-in-out;
}
.igov-prod-card__link img {
    width: 20px;
    height: 20px;
}

@media (max-width: 1199px) {
    .igov-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 991px) {
    .igov-products {
        padding: 64px 0
    }

    .igov-products__glow {
        display: none
    }
}

@media (max-width: 767px) {
    .igov-products {
        padding: 48px 0;
        background-size: cover
    }

    .igov-products__title {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 24px
    }

    .igov-products__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px
    }
}

/* ---------- 4. VỚI LỢI ÍCH VƯỢT TRỘI (3 tab) ---------- */
.igov-loiich {
    padding: 96px 0;
    background: url(/sites/igov/images/pages/igov-home/loiich-bg.webp) no-repeat center/cover;
}

.igov-loiich__inner {
    width: 100%;
    max-width: 1472px;
    margin: 0 auto;
    padding: 0 96px
}

.igov-loiich__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #181d27;
    font-size: 32px;
    font-family: Inter Bold;
    line-height: 40px;
    letter-spacing: -0.2px;
    text-align: center
}

.igov-loiich__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px
}

.igov-loiich__tab {
    padding: 12px 24px;
    border: 1px solid #d5d7da;
    border-radius: 9999px;
    background: #fff;
    color: #252b37;
    font-family: Inter Medium;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px;
    cursor: pointer;
    white-space: nowrap
}

.igov-loiich__tab.is-active {
    border: 2px solid #2662ff;
    padding: 11px 23px;
    color: #2662ff;
    font-family: Inter SemiBold;
    box-shadow: 0 8px 30px 0 rgba(116, 135, 255, .05), 0 8px 30px 0 rgba(10, 27, 137, .03)
}

.igov-loiich__panel {
    display: none;
    grid-template-columns: minmax(0, 608fr) minmax(0, 608fr);
    gap: 64px;
    margin-top: 136px;
    align-items: start
}

.igov-loiich__panel.is-active {
    display: grid
}

.igov-loiich__media img {
    width: 100%;
    height: auto
}

.igov-loiich__list {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.igov-loiich__item {
    display: flex;
    align-items: flex-start;
    gap: 8px
}

.igov-loiich__item-icon {
    flex: 0 0 auto;
    width: 24px;
    height: 24px
}

.igov-loiich__item-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-width: 0
}

.igov-loiich__item-name {
    color: #181d27;
    font-size: 20px;
    font-family: Inter SemiBold;
    line-height: 28px
}

.igov-loiich__item-desc {
    color: #535862;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px
}

@media (max-width: 1199px) {
    .igov-loiich__inner {
        padding: 0 48px
    }

    .igov-loiich__panel {
        gap: 40px
    }
}

@media (max-width: 991px) {
    .igov-loiich {
        padding-bottom: 64px
    }

    .igov-loiich__inner {
        padding: 0 32px
    }

    .igov-loiich__panel {
        margin-top: 56px
    }

    .igov-loiich__panel.is-active {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px
    }

    .igov-loiich__media {
        max-width: 608px;
        margin: 0 auto
    }
}

@media (max-width: 767px) {
    .igov-loiich {
        padding-bottom: 48px
    }

    .igov-loiich__inner {
        padding: 0 16px
    }

    .igov-loiich__panel {
        margin-top: 32px
    }

    .igov-loiich__title {
        font-size: 26px;
        line-height: 34px
    }

    .igov-loiich__tab {
        font-size: 15px;
        padding: 10px 16px
    }

    .igov-loiich__tab.is-active {
        padding: 9px 15px
    }

    .igov-loiich__item-name {
        font-size: 18px;
        line-height: 26px
    }

    .igov-loiich__item-desc {
        font-size: 15px;
        line-height: 23px
    }
}

/* ---------- 5. TÍCH HỢP CÔNG NGHỆ AI ---------- */
.igov-ai {
    padding: 96px 0
}

.igov-ai__title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    color: #181d27;
    font-size: 32px;
    font-family: Inter Bold;
    line-height: 40px;
    letter-spacing: -0.2px;
    text-align: center
}

.igov-ai__subtitle {
    margin-top: 12px;
    color: #252b37;
    font-size: 20px;
    line-height: 28px;
    text-align: center
}

.igov-ai__body {
    display: grid;
    grid-template-columns: minmax(0, 608fr) minmax(0, 608fr);
    gap: 64px;
    margin-top: 40px;
    align-items: start
}

.igov-ai__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0
}

.igov-ai-card {
    display: block;
    width: 100%;
    padding: 16px 20px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: none;
    font-family: inherit;
    text-align: left;
    cursor: pointer
}

.igov-ai-card.is-active {
    padding-bottom: 24px;
    border-color: #d9e6ff;
    background: #fff;
    box-shadow: 0 8px 30px 0 rgba(116, 135, 255, .05), 0 8px 30px 0 rgba(10, 27, 137, .03)
}

.igov-ai-card__head {
    display: flex;
    align-items: center;
    gap: 12px
}

.igov-ai-card__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px
}

.igov-ai-card__name {
    flex: 1 1 auto;
    min-width: 0;
    color: #181d27;
    font-size: 20px;
    font-family: Inter SemiBold;
    line-height: 28px
}

.igov-ai-card__desc {
    display: none;
    padding: 8px 52px 0;
    color: #252b37;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px
}

.igov-ai-card.is-active .igov-ai-card__desc {
    display: block
}

.igov-ai__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 540px
}

.igov-ai__media img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%
}

@media (max-width: 1199px) {
    .igov-ai__body {
        gap: 40px
    }

    .igov-ai-card__desc {
        padding: 8px 0 0
    }
}

@media (max-width: 991px) {
    .igov-ai {
        padding: 64px 0
    }

    .igov-ai__body {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px
    }

    .igov-ai__media {
        order: -1;
        height: auto;
        min-height: 300px
    }
}

@media (max-width: 767px) {
    .igov-ai {
        padding: 48px 0
    }

    .igov-ai__title {
        font-size: 26px;
        line-height: 34px
    }

    .igov-ai__subtitle {
        font-size: 17px;
        line-height: 25px
    }

    .igov-ai-card {
        padding: 12px 14px
    }

    .igov-ai-card.is-active {
        padding-bottom: 16px
    }

    .igov-ai-card__name {
        font-size: 18px;
        line-height: 26px
    }

    .igov-ai__media {
        min-height: 220px
    }
}

/* ---------- 6. MISA LLM ---------- */
.igov-llm {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
    background: url(/sites/igov/images/pages/igov-home/llm-bg.webp) no-repeat center/cover;
}

.igov-llm__title {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #181d27;
    font-size: 32px;
    font-family: Inter Bold;
    line-height: 40px;
    letter-spacing: -0.2px;
    text-align: center
}

.igov-llm__title-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px
}

.igov-llm__grad {
    background-image: url(/sites/igov/images/pages/igov-home/igov-llm-grad.png) no-repeat center/cover;;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent
}

.igov-llm__spark {
    position: absolute;
    width: 34px;
    height: 40px;
    pointer-events: none
}

.igov-llm__spark--a {
    left: 15.8%;
    top: -8px
}

.igov-llm__spark--b {
    left: 80.3%;
    top: 35px
}

.igov-llm__subtitle {
    max-width: 960px;
    margin: 12px auto 0;
    color: #535862;
    font-size: 20px;
    line-height: 28px;
    text-align: center
}

.igov-llm__stage {
    position: relative;
    /* margin-top: 60px */
}

.igov-llm__ui {
    display: block;
    width: 100%;
    height: auto;
    /* Ảnh export bị cắt ở rìa khối nền mờ -> làm mờ rìa để hoà vào nền section */
    -webkit-mask-image: radial-gradient(78% 78% at 50% 46%, #000 60%, transparent 100%);
    mask-image: radial-gradient(78% 78% at 50% 46%, #000 60%, transparent 100%)
}

.igov-llm__pills {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.igov-llm__pill {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 917px;
    background: rgba(255, 255, 255, .6);
    box-shadow: 0 40px 50px 0 rgba(108, 154, 255, .2), inset 0 0 24px 0 rgba(255, 255, 255, .7);
    color: #535862;
    font-size: 14px;
    font-family: Inter Medium;
    line-height: 26px;
    white-space: nowrap
}

.igov-llm__pill img {
    flex: 0 0 auto;
    width: 24px;
    height: 24px
}

.igov-llm__pill--chatgpt {
    left: 13.75%;
    top: 0.2%
}

.igov-llm__pill--gemini-flash {
    left: 74.3%;
    top: 0.2%
}

.igov-llm__pill--grok-r {
    left: 72.66%;
    top: 24.9%;
    opacity: .8
}

.igov-llm__pill--deepseek {
    left: 81.8%;
    top: 14.7%;
    opacity: .6
}

.igov-llm__pill--gemini35 {
    left: 72.27%;
    top: 52.2%;
    opacity: .6
}

.igov-llm__pill--grok-l {
    left: 14.45%;
    top: 23.2%;
    opacity: .8
}

.igov-llm__pill--gemini36 {
    left: 25.86%;
    top: 34.1%
}

.igov-llm__pill--claude {
    left: 62.58%;
    top: 39.7%
}

.igov-llm__pill--claude45 {
    left: 36.48%;
    top: 58%;
    opacity: .6
}

@media (min-width: 992px) and (max-width: 1199px) {
    .igov-llm__pill {
        font-size: 12px;
        gap: 5px;
        padding: 7px 12px
    }

    .igov-llm__pill img {
        width: 18px;
        height: 18px
    }
}

@media (max-width: 991px) {
    .igov-llm {
        padding: 64px 0
    }

    .igov-llm__spark {
        display: none
    }

    .igov-llm__stage {
        margin-top: 40px
    }

    .igov-llm__pills {
        position: static;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 20px
    }

    .igov-llm__pill {
        position: static;
        opacity: 1 !important
    }
}

@media (max-width: 767px) {
    .igov-llm {
        padding: 48px 0
    }

    .igov-llm__title {
        font-size: 24px;
        line-height: 32px
    }

    .igov-llm__subtitle {
        font-size: 16px;
        line-height: 24px
    }

    .igov-llm__pill {
        font-size: 13px;
        padding: 6px 12px
    }

    .igov-llm__pill img {
        width: 18px;
        height: 18px
    }
}

/* ---------- 7. GIẢI PHÁP KẾ TOÁN Y TẾ CHUYÊN SÂU ---------- */
.igov-why {
    padding: 96px 0
}

.igov-why__title {
    margin: 0 auto 40px;
    max-width: 1227px;
    color: #181d27;
    font-size: 32px;
    font-family: Inter Bold;
    line-height: 40px;
    letter-spacing: -0.2px;
    text-align: center
}

.igov-why__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px
}

.igov-why__card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 24px;
    background: #fafafa;
    overflow: hidden
}

.igov-why__card-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    width: 100%
}

.igov-why__icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px
}

.igov-why__icon img {
    width: auto;
    max-width: none
}

.igov-why__name {
    color: #181d27;
    font-size: 20px;
    font-family: Inter SemiBold;
    line-height: 28px
}

.igov-why__desc {
    color: #535862;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.2px
}
.page-title{
    color: var(--Text-Primary, #181D27);
    text-align: center;

    /* Title 1/Bold */
    font-family: Inter Bold;
    font-size: var(--Fontsize-Title-Title-1, 32px);
    font-style: normal;
    line-height: var(--Line-height-xl, 40px); /* 125% */
    letter-spacing: var(--Letter-spacing-Default, -0.2px);
    margin: 0 auto 40px;
}
.page-subtitle
{
    color: var(--Text-Tertiary, #535862);
    text-align: center;

    /* Subtitle 1/Regular */
    font-family: Inter;
    font-size: var(--Fontsize-Subtitle-1-Subtitle-Regular, 20px);
    font-style: normal;
    line-height: var(--Line-height-m, 28px); /* 140% */
    letter-spacing: var(--Letter-spacing-None, 0);
}

.rewards{
    margin: 96px 0;
}

@media (max-width: 1199px) {
    .igov-why__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 991px) {
    .igov-why {
        padding: 64px 0
    }
}

@media (max-width: 767px) {
    .igov-why {
        padding: 48px 0
    }

    .igov-why__title {
        font-size: 26px;
        line-height: 34px;
        margin-bottom: 24px
    }

    .igov-why__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px
    }
}
