:root {
    --ink: #0a1322;
    --ink-soft: #142238;
    --paper: #f5f7fa;
    --line: #dfe5ec;
    --muted: #617087;
    --blue: #2f6bff;
    --cyan: #31c6e3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.aais-home {
    margin: 0;
    overflow-x: hidden;
    background: #fff;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.aais-home section[id] { scroll-margin-top: 78px; }

.aais-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.12);
    transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
    background: rgba(7, 17, 31, .96);
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
    backdrop-filter: blur(14px);
}
.nav-shell {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 176px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.site-nav a {
    color: rgba(255,255,255,.76);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    transition: color .2s ease;
}
.site-nav a:hover { color: #fff; }
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border-radius: 8px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 780;
    box-shadow: 0 10px 28px rgba(47,107,255,.25);
}
.header-cta:hover { background: #215ae5; color: #fff; }
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    background: transparent;
    padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 4px 0; }
.site-nav__cta { display: none; }

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: #fff;
    background: #07111f url("/static/assets/images/aais-hero-product-ecosystem-v2.webp") center/cover no-repeat;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5,14,26,.98) 0%, rgba(5,14,26,.92) 38%, rgba(5,14,26,.46) 68%, rgba(5,14,26,.2) 100%),
        linear-gradient(180deg, rgba(3,10,20,.25) 0%, rgba(3,10,20,.04) 55%, rgba(3,10,20,.78) 100%);
}
.hero-content { padding-top: 96px; padding-bottom: 34px; }
.hero-copy { max-width: 720px; }
.hero-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8adff0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hero-kicker::before { content: ""; width: 30px; height: 2px; background: var(--cyan); }
.hero h1 {
    margin-top: 20px;
    max-width: 700px;
    font-size: clamp(36px, 4.2vw, 54px);
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: -.03em;
}
.hero h1 span { color: #8be6f2; }
.hero-lead {
    max-width: 620px;
    margin-top: 24px;
    color: rgba(232,240,249,.78);
    font-size: 19px;
    line-height: 1.75;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary-action, .secondary-action {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 800;
}
.primary-action { background: var(--blue); color: #fff; }
.primary-action:hover { background: #215ae5; color: #fff; }
.secondary-action { border: 1px solid rgba(255,255,255,.3); color: #fff; background: rgba(255,255,255,.04); }
.secondary-action:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-points {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 1120px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.18);
}
.hero-point { padding-right: 24px; }
.hero-point + .hero-point { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); }
.hero-point strong { display: block; font-size: 16px; color: #fff; }
.hero-point span { display: block; margin-top: 5px; color: rgba(255,255,255,.55); font-size: 13px; }

.trust-strip { position: relative; background: #fff; border-bottom: 1px solid var(--line); }
.trust-inner {
    min-height: 104px;
    display: grid;
    grid-template-columns: 210px 1fr;
    align-items: center;
    gap: 28px;
}
.trust-label { color: var(--muted); font-size: 12px; font-weight: 800; line-height: 1.6; letter-spacing: .1em; text-transform: uppercase; }
.logo-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center; gap: 22px; }
.logo-row img {
    display: block;
    width: 100%;
    height: 58px;
    max-width: 170px;
    margin: auto;
    border: 1px solid #e7ebf1;
    border-radius: 13px;
    background: #fff;
    padding: 11px 14px;
    filter: none;
    opacity: 1;
    object-fit: contain;
    box-shadow: 0 7px 22px rgba(10, 19, 34, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.logo-row img:hover { transform: translateY(-3px); border-color: #bfd0ff; box-shadow: 0 12px 28px rgba(10, 19, 34, .09); }

.section { padding: 72px 0; }
.section-soft { background: radial-gradient(circle at 88% 8%, rgba(47,107,255,.07), transparent 30rem), var(--paper); }
.section-dark { position: relative; overflow: hidden; background: radial-gradient(circle at 86% 5%, rgba(47,107,255,.18), transparent 34rem), radial-gradient(circle at 8% 90%, rgba(49,198,227,.08), transparent 28rem), var(--ink); color: #fff; }
.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    align-items: end;
    gap: 72px;
    margin-bottom: 40px;
}
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-dark .eyebrow { color: #72d9eb; }
.section-heading h2, .process-head h2 {
    margin-top: 12px;
    max-width: 760px;
    font-size: clamp(32px, 3.7vw, 48px);
    line-height: 1.08;
    letter-spacing: -.03em;
    font-weight: 760;
}
.section-heading h2.section-heading__title--compact {
    font-size: clamp(28px, 3.1vw, 40px);
}
.section-heading > p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.section-dark .section-heading > p { color: #9daabe; }

/* Product showcase */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
}
.product-card {
    grid-column: span 4;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce3ec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(10, 19, 34, .035);
    cursor: pointer;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.product-card:nth-child(-n+2) { grid-column: span 6; }
.product-card:hover {
    transform: translateY(-7px);
    border-color: #b8c9f3;
    box-shadow: 0 26px 60px rgba(10, 19, 34, .12);
}
.product-card:focus-visible { outline: 3px solid rgba(47, 107, 255, .35); outline-offset: 4px; }
.product-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #071426; }
.product-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 13, 26, .05) 40%, rgba(4, 13, 26, .82) 100%);
    pointer-events: none;
}
.product-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__index {
    position: absolute;
    z-index: 1;
    top: 18px;
    left: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    color: #fff;
    background: rgba(4, 14, 28, .42);
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 900;
}
.product-card__category {
    position: absolute;
    z-index: 1;
    left: 18px;
    bottom: 17px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.product-card__body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #7a879a; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.product-card__meta strong { flex: 0 0 auto; border-radius: 999px; background: #edf2ff; padding: 6px 9px; color: #2856c4; font-size: 11px; letter-spacing: 0; text-transform: none; }
.product-card h3 { margin-top: 15px; font-size: 24px; line-height: 1.2; letter-spacing: -.02em; font-weight: 740; }
.product-card:nth-child(-n+2) h3 { font-size: 28px; }
.product-card__body > p { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 18px; }
.product-card__footer > span:first-child { display: inline-flex; align-items: center; gap: 7px; color: #63718a; font-size: 12px; font-weight: 750; }
.product-card__footer > span:first-child i { color: var(--blue); font-size: 16px; }
.product-card__action { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-size: 13px; font-weight: 900; white-space: nowrap; }
.product-card__action i { transition: transform .2s ease; }
.product-card:hover .product-card__action i { transform: translate(2px, -2px); }

body.product-modal-open { overflow: hidden; }
.product-modal[hidden] { display: none; }
.product-modal { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; padding: 24px; }
.product-modal__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3, 10, 20, .84); backdrop-filter: blur(12px); cursor: default; animation: modalFade .2s ease both; }
.product-modal__panel {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    max-height: min(900px, calc(100vh - 48px));
    display: grid;
    grid-template-columns: minmax(340px, .82fr) minmax(520px, 1.18fr);
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .4);
    animation: modalRise .28s cubic-bezier(.2,.75,.25,1) both;
}
.product-modal__close {
    position: absolute;
    z-index: 4;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #dfe5ec;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--ink);
    box-shadow: 0 8px 24px rgba(10,19,34,.12);
    font-size: 20px;
    cursor: pointer;
}
.product-modal__close:hover { color: var(--blue); transform: rotate(4deg); }
.product-modal__visual {
    position: sticky;
    top: 0;
    height: min(820px, calc(100vh - 48px));
    overflow: hidden;
    background: #071426;
}
.product-modal__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(4,13,26,.88)); pointer-events: none; }
.product-modal__visual img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 62% center; }
.product-modal__visual > span { position: absolute; z-index: 1; left: 28px; bottom: 26px; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.product-modal__content { min-width: 0; padding: 50px 48px 46px; }
.product-modal__eyebrow { color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.product-modal__content > h3 { max-width: 620px; margin-top: 12px; padding-right: 36px; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 760; }
.product-modal__lead { max-width: 690px; margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.modal-offer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; border: 1px solid #d9e3ff; border-radius: 14px; background: #f1f5ff; padding: 17px 18px; }
.modal-offer > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.modal-offer strong { color: var(--blue); font-size: 25px; line-height: 1; letter-spacing: -.02em; }
.modal-offer span { color: #66758d; font-size: 12px; font-weight: 750; }
.modal-offer > p { display: inline-flex; align-items: center; gap: 7px; color: #3158b5; font-size: 12px; font-weight: 850; }
.modal-offer > p i { font-size: 17px; }
.modal-offer--quote strong { color: var(--ink); font-size: 17px; }
.modal-offer--quote > div { display: grid; }
.modal-offer--quote > a { flex: 0 0 auto; border-radius: 8px; background: var(--blue); padding: 10px 14px; color: #fff; font-size: 12px; font-weight: 850; }
.modal-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.modal-platforms span { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d9e3ff; border-radius: 999px; background: #f5f7ff; padding: 7px 12px; color: #3158b5; font-size: 12px; font-weight: 850; }
.modal-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.modal-feature-grid section { border: 1px solid #e2e7ee; border-radius: 14px; background: #fff; padding: 20px; }
.modal-feature-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: #edf2ff; color: var(--blue); font-size: 18px; }
.modal-feature-grid h4 { margin-top: 16px; color: var(--ink); font-size: 15px; font-weight: 850; }
.modal-feature-grid ul { margin-top: 10px; }
.modal-feature-grid li { position: relative; padding-left: 15px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.modal-feature-grid li + li { margin-top: 6px; }
.modal-feature-grid li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.modal-accuracy { display: flex; align-items: center; gap: 12px; margin-top: 16px; border-radius: 12px; background: #edf8fb; padding: 14px 16px; color: #31556a; font-size: 13px; line-height: 1.5; }
.modal-accuracy i { color: #15a5c2; font-size: 22px; }
.product-modal__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; border-radius: 15px; background: var(--ink); padding: 20px; color: #fff; }
.product-modal__cta > div { display: grid; gap: 5px; }
.product-modal__cta strong { font-size: 14px; }
.product-modal__cta span { color: #9faec1; font-size: 12px; line-height: 1.5; }
.product-modal__cta a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; border-radius: 9px; background: var(--blue); padding: 11px 15px; color: #fff; font-size: 12px; font-weight: 850; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

.project-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.project-item {
    position: relative;
    grid-column: span 5;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    background: #0b1728;
    box-shadow: 0 26px 70px rgba(0,0,0,.24);
    isolation: isolate;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.project-item--primary { grid-column: span 7; }
.project-item::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(4,12,24,.15) 0%, rgba(4,12,24,.38) 42%, rgba(4,12,24,.96) 100%), linear-gradient(90deg, rgba(4,12,24,.78), transparent 68%); }
.project-item::after { content: ""; position: absolute; z-index: 1; inset: 0; opacity: .28; background-image: radial-gradient(rgba(114,217,235,.32) .8px, transparent .9px); background-size: 24px 24px; mask-image: linear-gradient(180deg, #000, transparent 58%); pointer-events: none; }
.project-item:hover { transform: translateY(-7px); border-color: rgba(114,217,235,.48); box-shadow: 0 38px 90px rgba(0,0,0,.34); }
.project-item.wide { grid-column: 1 / -1; min-height: 320px; }
.project-item__media { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.project-item:hover .project-item__media { transform: scale(1.04); filter: saturate(1.08); }
.project-label { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #73dced; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.project-label > span { border: 1px solid rgba(115,220,237,.32); border-radius: 999px; background: rgba(5,18,34,.58); padding: 8px 11px; backdrop-filter: blur(10px); }
.project-label img { width: auto; max-width: 170px; height: 50px; border-radius: 11px; background: rgba(255,255,255,.96); padding: 8px 12px; object-fit: contain; filter: none; opacity: 1; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.project-item__content { position: relative; z-index: 2; margin-top: auto; }
.project-item__number { display: inline-flex; align-items: center; gap: 10px; color: #6bd8eb; font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.project-item__number::after { content: ""; width: 34px; height: 1px; background: rgba(107,216,235,.55); }
.project-item h3 { max-width: 560px; margin-top: 15px; color: #fff; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.16; letter-spacing: -.022em; font-weight: 740; text-shadow: 0 3px 18px rgba(0,0,0,.3); }
.project-item.wide h3 { max-width: 700px; }
.project-item p { max-width: 620px; margin-top: 12px; color: #bcc7d6; line-height: 1.65; }
.project-item__result { width: fit-content; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; background: rgba(6,18,34,.62); padding: 8px 11px; color: #e9f1fb; font-size: 11px; font-weight: 750; backdrop-filter: blur(10px); }
.project-item__result i { color: #55d2e8; font-size: 16px; }

.process-section { position: relative; overflow: hidden; padding-top: 52px; background: radial-gradient(circle at 50% 0, rgba(47,107,255,.075), transparent 32rem), #f8fafc; }
.process-section::before { content: ""; position: absolute; width: 420px; height: 420px; left: -290px; bottom: -250px; border: 1px solid rgba(47,107,255,.08); border-radius: 50%; box-shadow: 0 0 0 60px rgba(47,107,255,.025), 0 0 0 120px rgba(49,198,227,.018); }
.process-layout { position: relative; z-index: 1; }
.process-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.process-head h2 { margin-inline: auto; }
.process-head p { max-width: 650px; margin: 20px auto 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.process-timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.process-timeline::before { content: ""; position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, #b9caff, var(--blue) 42%, var(--cyan)); }
.process-step { position: relative; min-width: 0; }
.process-step__node { position: relative; z-index: 2; width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto; border: 6px solid #f8fafc; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #2050ca); color: #fff; box-shadow: 0 9px 24px rgba(47,107,255,.25); font-size: 12px; font-weight: 900; }
.process-step__body { min-height: 250px; display: flex; flex-direction: column; margin-top: 18px; overflow: hidden; border: 1px solid #dfe6ef; border-radius: 20px; background: rgba(255,255,255,.92); padding: 22px; box-shadow: 0 15px 38px rgba(10,19,34,.055); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.process-step__body::before { content: ""; position: absolute; inset: 76px auto auto 50%; width: 1px; height: 20px; background: #c5d2e5; }
.process-step:hover .process-step__body { transform: translateY(-5px); border-color: #b7c9f4; box-shadow: 0 24px 52px rgba(10,19,34,.1); }
.process-step__top { display: flex; align-items: center; gap: 11px; }
.process-step__top i { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: #edf2ff; color: var(--blue); font-size: 20px; }
.process-step__top small { color: #77859a; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.process-step h3 { margin-top: 19px; font-size: 20px; line-height: 1.28; font-weight: 740; }
.process-step p { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.process-output { display: flex; align-items: center; gap: 10px; margin-top: auto; border-top: 1px solid #e5eaf1; padding-top: 14px; }
.process-output > i { color: #17abc6; font-size: 20px; }
.process-output > span { color: #26364f; font-size: 12px; font-weight: 800; }
.process-output small { display: block; margin-bottom: 2px; color: #8a97aa; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

/* CTA cuối trang */
.cta-band {
    position: relative;
    overflow: hidden;
    padding: 68px 0;
    color: #fff;
    background:
        radial-gradient(circle at 85% 12%, rgba(49,198,227,.16), transparent 26rem),
        radial-gradient(circle at 10% 92%, rgba(47,107,255,.24), transparent 28rem),
        #081221;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(138,223,240,.12) 1px, transparent 1.5px);
    background-size: 32px 32px;
    mask-image: linear-gradient(100deg, transparent 22%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.2));
    -webkit-mask-image: linear-gradient(100deg, transparent 22%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.2));
}
.cta-band__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) auto;
    align-items: center;
    gap: 56px;
}
.cta-band .eyebrow { color: #72d9eb; }
.cta-band h2 {
    margin-top: 12px;
    max-width: 660px;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.1;
    letter-spacing: -.03em;
    font-weight: 760;
}
.cta-band h2.cta-band__title--compact {
    font-size: clamp(26px, 2.8vw, 36px);
}
.cta-band__copy > p:last-child { margin-top: 16px; max-width: 580px; color: #9daabe; font-size: 16px; line-height: 1.7; }
.cta-band__actions { display: grid; gap: 12px; min-width: 240px; }
.cta-band__primary, .cta-band__secondary {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.cta-band__primary { background: var(--blue); color: #fff; box-shadow: 0 12px 32px rgba(47,107,255,.3); }
.cta-band__primary:hover { background: #215ae5; color: #fff; transform: translateY(-2px); }
.cta-band__secondary { border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); color: #fff; }
.cta-band__secondary:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.45); }
.cta-band__secondary i { color: #72d9eb; font-size: 18px; }

.aais-home .footer { border-top: 1px solid rgba(255,255,255,.07); background: radial-gradient(circle at 10% 0, rgba(47,107,255,.11), transparent 28rem), #060e1a !important; }
.aais-home .footer .container { max-width: 1180px; padding-left: 24px; padding-right: 24px; }
.aais-home .footer > .container > .py-14 { padding-top: 52px; padding-bottom: 46px; }
.aais-home .footer > .py-6 { padding-top: 24px; padding-bottom: 24px; }
.aais-home .footer img { width: 190px; height: auto; }
.aais-home .footer-list li + li { margin-top: 10px; }
.aais-home .footer-list a { transition: color .2s ease, transform .2s ease; }
.aais-home .footer-list a:hover { display: inline-block; transform: translateX(3px); }

.subpage-hero {
    padding: 170px 0 92px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(47,107,255,.22), transparent 28rem),
        #07111f;
}
.subpage-hero .eyebrow { color: #75dceb; }
.subpage-hero h1 {
    max-width: 760px;
    margin-top: 14px;
    font-size: clamp(34px, 4.2vw, 54px);
    line-height: 1.1;
    letter-spacing: -.03em;
    font-weight: 780;
}
.subpage-hero p:last-child { max-width: 650px; margin-top: 24px; color: #aeb9c9; font-size: 18px; line-height: 1.75; }
.contact-section { padding: 96px 0 110px; background: var(--paper); }
.contact-intro { max-width: 760px; margin-bottom: 42px; }
.contact-intro h2 { font-size: clamp(34px, 4vw, 50px); line-height: 1.14; letter-spacing: -.03em; font-weight: 760; }
.contact-intro p { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; align-items: start; }
.contact-panel { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 32px; }
.contact-panel h3 { font-size: 22px; font-weight: 800; }
.quick-contact { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
.quick-contact a {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 68px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    font-weight: 800;
}
.quick-contact a:hover { border-color: #a9c0ff; color: #174cc9; }
.quick-contact i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; background: #edf2ff; color: var(--blue); font-size: 19px; }
.company-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.company-brand img {
    flex: 0 0 auto;
    width: 86px;
    height: 86px;
    object-fit: contain;
    border: 1px solid #e7ebf1;
    border-radius: 14px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 8px 22px rgba(10, 19, 34, .05);
}
.company-brand__text h3 { font-size: 22px; font-weight: 800; }
.company-brand__text p { margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 750; letter-spacing: .02em; }
.company-panel .company-lines { margin-top: 0; }
.company-panel .company-line:first-child { border-top: 0; padding-top: 0; }
.company-lines { margin-top: 24px; }
.company-line { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.company-line:first-child { border-top: 1px solid var(--line); }
.company-line dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.company-line dd { color: var(--ink); line-height: 1.65; }
.support-badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.support-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #d9e3ff;
    border-radius: 12px;
    background: #f1f5ff;
    padding: 13px 15px;
}
.support-badge i {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #fff;
    color: var(--blue);
    font-size: 20px;
    box-shadow: 0 6px 16px rgba(47, 107, 255, .12);
}
.support-badge strong { display: block; color: var(--ink); font-size: 14px; font-weight: 850; }
.support-badge span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.bank-panel { margin-top: 22px; border-color: #b9c9ff; background: #eef3ff; }
.bank-panel .company-line { border-color: #ccd7f6; }
.bank-note { margin-top: 18px; color: #5c6c86; font-size: 13px; line-height: 1.65; }
.map-link { display: inline-flex; align-items: center; margin-top: 22px; color: var(--blue); font-weight: 800; }

/* ====== Hiệu ứng cải tiến: reveal on scroll, stats, hover tinh tế ====== */

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s cubic-bezier(.2,.65,.25,1), transform .7s cubic-bezier(.2,.65,.25,1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.reveal-zoom { transform: translateY(22px) scale(.965); }
.reveal.reveal-zoom.is-visible { transform: scale(1); }
.reveal.reveal-left { transform: translateX(-34px); }
.reveal.reveal-left.is-visible { transform: none; }

/* Gạch chân trượt cho menu điều hướng */
.site-nav a { position: relative; padding-bottom: 4px; }
.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .28s ease;
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Nút CTA header: hiệu ứng sáng quét */
.header-cta { position: relative; overflow: hidden; }
.header-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.header-cta:hover::after { left: 130%; }

/* Hero: lưới điểm mờ + ánh sáng dịu chuyển */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: radial-gradient(rgba(138, 223, 240, .16) 1px, transparent 1.6px);
    background-size: 34px 34px;
    mask-image: linear-gradient(105deg, transparent 30%, rgba(0,0,0,.7) 62%, rgba(0,0,0,.25));
    -webkit-mask-image: linear-gradient(105deg, transparent 30%, rgba(0,0,0,.7) 62%, rgba(0,0,0,.25));
}
.hero-point { transition: transform .25s ease; }
.hero-point:hover { transform: translateY(-3px); }
.hero-point strong { transition: color .25s ease; }
.hero-point:hover strong { color: #8be6f2; }

/* Dải số liệu */
.stats-band {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    color: #fff;
    background:
        radial-gradient(circle at 12% 0%, rgba(49,198,227,.16), transparent 26rem),
        radial-gradient(circle at 88% 100%, rgba(47,107,255,.2), transparent 26rem),
        var(--ink);
}
.stats-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.4px);
    background-size: 30px 30px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 85%);
}
.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.stat-item {
    position: relative;
    padding: 4px 26px 4px 0;
}
.stat-item + .stat-item { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.12); }
.stat-value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-size: clamp(38px, 4vw, 54px);
    font-weight: 780;
    line-height: 1;
    letter-spacing: -.025em;
    background: linear-gradient(92deg, #fff 20%, #8adff0 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-suffix { font-size: .52em; color: #72d9eb; -webkit-text-fill-color: #72d9eb; }
.stat-label { margin-top: 10px; color: #e7edf6; font-size: 14px; font-weight: 800; }
.stat-desc { margin-top: 5px; color: #93a1b5; font-size: 13px; line-height: 1.55; }

/* Eyebrow có vạch dẫn */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }

/* Tôn trọng ngườoi dùng tắt chuyển động */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .header-cta::after { display: none; }
}

@media (max-width: 1180px) and (min-width: 992px) {
    .hero-point { padding-right: 16px; }
    .hero-point + .hero-point { padding-left: 16px; }
    .hero-point strong { font-size: 15px; }
    .hero-point span { font-size: 12px; }
}

@media (max-width: 991px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 77px;
        left: 0;
        right: 0;
        padding: 18px 24px 24px;
        background: #07111f;
        border-top: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 20px 40px rgba(0,0,0,.25);
    }
    .site-nav.is-open { display: grid; gap: 3px; }
    .site-nav a { padding: 12px 0; }
    .site-nav__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 48px;
        margin-top: 14px;
        padding: 0 18px;
        border-radius: 8px;
        background: var(--blue);
        color: #fff;
        font-size: 15px;
        font-weight: 800;
    }
    .site-nav__cta:hover { background: #215ae5; color: #fff; }
    .site-nav__cta::after { display: none; }
    .nav-toggle { display: block; margin-left: auto; }
    .header-cta { display: none; }
    .hero { min-height: 660px; }
    .hero-points { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
    .hero-point { padding-right: 18px; }
    .hero-point + .hero-point { padding-left: 0; border-left: 0; }
    .trust-inner { grid-template-columns: 1fr; gap: 14px; padding: 18px 0; }
    .logo-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .section-heading { grid-template-columns: 1fr; gap: 20px; }
    .product-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-card, .product-card:nth-child(-n+2) { grid-column: auto; }
    .product-card:nth-child(-n+2) h3 { font-size: 24px; }
    .product-modal__panel { display: block; }
    .product-modal__visual { position: relative; height: auto; aspect-ratio: 16 / 7; }
    .product-modal__visual img { object-position: center; }
    .project-item, .project-item--primary { grid-column: span 6; min-height: 420px; }
    .project-item.wide { grid-column: 1 / -1; }
    .process-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
    .process-timeline::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .cta-band__inner { grid-template-columns: 1fr; gap: 32px; }
    .cta-band__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
}

@media (max-width: 640px) {
    .aais-container { width: min(100% - 28px, 1180px); }
    .nav-shell { height: 72px; }
    .brand img { width: 145px; }
    .site-nav { top: 71px; padding-left: 14px; padding-right: 14px; }
    .hero { min-height: auto; background-position: 68% center; }
    .hero::before { background: linear-gradient(90deg, rgba(5,14,26,.96), rgba(5,14,26,.75)), linear-gradient(180deg, transparent 55%, rgba(3,10,20,.8)); }
    .hero-content { padding-top: 118px; padding-bottom: 40px; }
    .hero h1 { margin-top: 19px; font-size: 32px; }
    .hero-lead { margin-top: 22px; font-size: 17px; line-height: 1.65; }
    .hero-actions { display: grid; }
    .primary-action, .secondary-action { width: 100%; }
    .hero-points { grid-template-columns: 1fr; margin-top: 36px; padding-top: 0; border-top: 0; }
    .hero-point { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.16); }
    .hero-point + .hero-point { padding-left: 0; border-left: 0; }
    .trust-label { text-align: center; }
    .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .stats-band { padding: 34px 0; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .stat-item { padding-right: 0; }
    .stat-item + .stat-item { padding-left: 0; border-left: 0; }
    .logo-row img { height: 50px; max-height: none; padding: 8px 10px; }
    .section { padding: 54px 0; }
    .section-heading { margin-bottom: 28px; }
    .section-heading h2, .process-head h2 { font-size: 34px; }
    .section-heading h2.section-heading__title--compact { font-size: 30px; }
    .product-showcase { grid-template-columns: 1fr; gap: 16px; }
    .product-card__body { padding: 20px; }
    .product-card h3, .product-card:nth-child(-n+2) h3 { font-size: 24px; }
    .product-card__meta { align-items: flex-start; }
    .product-card__footer { align-items: flex-end; }
    .product-modal { padding: 0; }
    .product-modal__panel { width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
    .product-modal__visual { aspect-ratio: 16 / 9; }
    .product-modal__content { padding: 30px 22px 34px; }
    .product-modal__content > h3 { padding-right: 0; font-size: 34px; }
    .product-modal__lead { font-size: 15px; }
    .modal-offer { align-items: flex-start; flex-direction: column; }
    .modal-offer--quote > a { width: 100%; text-align: center; }
    .modal-feature-grid { grid-template-columns: 1fr; }
    .product-modal__cta { align-items: flex-start; flex-direction: column; }
    .product-modal__cta a { width: 100%; justify-content: center; }
    .project-grid { grid-template-columns: 1fr; }
    .project-item, .project-item--primary { grid-column: auto; min-height: 360px; padding: 22px; border-radius: 18px; }
    .project-item.wide { grid-column: auto; min-height: 340px; }
    .project-label { align-items: flex-start; gap: 18px; }
    .project-label img { max-width: 120px; height: 44px; padding: 7px 9px; }
    .process-head { margin-bottom: 32px; text-align: left; }
    .process-head h2, .process-head p { margin-left: 0; }
    .process-timeline { grid-template-columns: 1fr; gap: 18px; }
    .process-timeline::before { display: block; top: 28px; bottom: 28px; left: 25px; right: auto; width: 2px; height: auto; }
    .process-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: start; gap: 14px; }
    .process-step__node { width: 52px; height: 52px; margin: 0; }
    .process-step__body { min-height: 235px; margin-top: 0; padding: 20px; }
    .process-step__body::before { display: none; }
    .cta-band { padding: 54px 0; }
    .cta-band__actions { grid-template-columns: 1fr; }
    .aais-home .footer .container { padding-left: 14px; padding-right: 14px; }
    .aais-home .footer > .container > .py-14 { padding-top: 38px; padding-bottom: 34px; }
    .aais-home .footer > .py-6 { padding-top: 16px; padding-bottom: 16px; }
    .subpage-hero { padding: 138px 0 70px; }
    .subpage-hero h1 { font-size: 34px; }
    .contact-section { padding: 70px 0 80px; }
    .contact-panel { padding: 25px 22px; }
    .support-badges { grid-template-columns: 1fr; }
    .company-line { grid-template-columns: 1fr; gap: 5px; }
}
