/* Trang chu dang landing cua theme basic (.hl) — sang, thoang, nhan gradient tim-hong cua theme. */
.hl {
    --hl-ink: #17163a;
    --hl-text: #4a4f68;
    --hl-muted: #7b8098;
    --hl-line: rgba(23, 22, 58, .08);
    --hl-brand: #8a4bea;
    --hl-brand-2: #593fe6;
    --hl-pink: #f45d9e;
    --hl-grad: linear-gradient(115deg, #593fe6 5%, #8a4bea 53%, #f45d9e 100%);
    --hl-warm: #e4572e;
    margin: -8px -12px 0;
    font-family: "Be Vietnam Pro", "Inter", system-ui, sans-serif;
    color: var(--hl-text);
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, #fff8f1 0%, #fbf7ff 30%, #fff 60%, #fff8f3 100%);
}

.hl h1, .hl h2, .hl h3 {
    margin: 0;
    color: var(--hl-ink);
    letter-spacing: -.02em;
}

.hl p { margin: 0; }

.hl a { text-decoration: none; }

.hl-script,
.hl-hand {
    font-family: "Dancing Script", cursive;
    font-weight: 700;
    letter-spacing: 0;
}

.hl-hand {
    position: relative;
    display: inline-block;
    padding: 0 4px;
    color: var(--hl-brand-2);
    font-size: 1.12em;
    white-space: nowrap;
}

.hl-hand::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--hl-warm);
    transform: rotate(-1.2deg);
}

/* ---------- Hero ---------- */
.hl-hero {
    position: relative;
    padding: clamp(36px, 6vw, 84px) clamp(18px, 5vw, 64px) clamp(70px, 8vw, 110px);
}

.hl-aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hl-aurora--a {
    top: -120px;
    right: -60px;
    width: 520px;
    height: 420px;
    background: rgba(138, 75, 234, .22);
}

.hl-aurora--b {
    bottom: -140px;
    left: 20%;
    width: 460px;
    height: 360px;
    background: rgba(244, 93, 158, .16);
}

.hl-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
}

.hl-hero h1 {
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 1.05;
}

.hl-script {
    position: relative;
    align-self: flex-start;
    font-size: clamp(44px, 6.2vw, 84px);
}

.hl-script--ink { color: var(--hl-ink); }

.hl-script--brand {
    background: var(--hl-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: 8px;
}

.hl-script::after {
    content: "";
    position: absolute;
    left: 6%;
    right: 4%;
    bottom: 2px;
    height: 4px;
    border-radius: 4px;
    transform: rotate(-1.5deg);
}

.hl-script--ink::after { background: var(--hl-warm); }
.hl-script--brand::after { background: var(--hl-brand-2); opacity: .7; }

.hl-lead {
    max-width: 480px;
    margin-top: 22px !important;
    font-size: 17px;
    line-height: 1.65;
}

.hl-lead strong { color: var(--hl-ink); }

.hl-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 28px;
}

.hl-actions--center { justify-content: center; }

.hl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    padding: 0 26px;
    border-radius: 16px;
    font-size: 15.5px;
    font-weight: 700;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.hl-btn:hover { transform: translateY(-2px); }

.hl-btn--primary {
    background: var(--hl-grad);
    color: #fff;
    box-shadow: 0 16px 34px -14px rgba(89, 63, 230, .75);
}

.hl-btn--primary:hover { color: #fff; filter: brightness(1.06); }

.hl-btn--light {
    background: #fff;
    color: var(--hl-brand-2);
    box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .45);
}

.hl-btn--light:hover { color: var(--hl-brand-2); }

.hl-btn--ghost {
    border: 1.5px solid rgba(255, 255, 255, .55);
    color: #fff;
}

.hl-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); }

.hl-link {
    color: var(--hl-ink);
    font-weight: 700;
    border-bottom: 2px solid var(--hl-ink);
    padding-bottom: 2px;
}

.hl-link:hover { color: var(--hl-brand-2); border-color: var(--hl-brand-2); }

.hl-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
    color: var(--hl-muted);
}

.hl-facts b {
    margin-right: 4px;
    color: var(--hl-ink);
    font-size: 18px;
    font-weight: 800;
}

/* San khau the nen tang */
.hl-stage {
    position: relative;
    min-height: 420px;
    perspective: 1200px;
}

.hl-stage-orbit {
    position: absolute;
    inset: 4% 2% 14%;
    border: 1.5px solid rgba(138, 75, 234, .22);
    border-radius: 50%;
    transform: rotate(-8deg);
}

.hl-stage-glow {
    position: absolute;
    left: 18%;
    right: 18%;
    top: 20%;
    bottom: 26%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 75, 234, .22), transparent 68%);
    animation: hlGlow 5s ease-in-out infinite;
}

@keyframes hlGlow { 50% { transform: scale(1.1); opacity: .7; } }

.hl-stage-base {
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 2%;
    height: 74px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, .95) 0 30%, transparent 31%),
        radial-gradient(ellipse at center, rgba(138, 75, 234, .22) 0 52%, transparent 53%),
        radial-gradient(ellipse at center, rgba(138, 75, 234, .1) 0 70%, transparent 71%);
    box-shadow: 0 30px 50px -18px rgba(89, 63, 230, .45);
}

.hl-stage-cards {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 18px;
    padding: 8px 6px 96px;
    transform: rotateX(8deg) rotateY(-10deg);
    transform-style: preserve-3d;
}

.hl-pcard {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff, #f6f3ff);
    box-shadow: 0 18px 30px -18px rgba(60, 40, 140, .55), 0 6px 0 -2px rgba(138, 75, 234, .12);
    color: var(--hl-ink);
    font-size: 13px;
    animation: hlFloat 6s ease-in-out infinite;
}

.hl-pcard:nth-child(3n + 2) { animation-delay: -2s; transform: translateY(-14px); }
.hl-pcard:nth-child(3n) { animation-delay: -4s; transform: translateY(8px); }

@keyframes hlFloat { 50% { translate: 0 -8px; } }

.hl-pcard-ico,
.hl-dock-ico,
.hl-plat-ico {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.hl-pcard-ico { width: 30px; height: 30px; color: var(--hl-brand); }

.hl-pcard-ico img,
.hl-dock-ico img,
.hl-plat-ico img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }

.hl-pcard-ico .sb-icon svg,
.hl-dock-ico .sb-icon svg,
.hl-plat-ico .sb-icon svg { width: 100%; height: 100%; }

.hl-pcard b {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hl-pcard i { color: var(--hl-muted); font-style: normal; font-size: 16px; }

/* ---------- Dock ---------- */
.hl-dock {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 4px;
    max-width: 1100px;
    margin: -46px auto 0;
    padding: 14px 18px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 24px 50px -24px rgba(60, 40, 140, .4);
    overflow-x: auto;
    scrollbar-width: none;
}

.hl-dock::-webkit-scrollbar { display: none; }

.hl-dock a {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 78px;
    padding: 6px 8px;
    border-radius: 16px;
    color: var(--hl-ink);
    font-size: 12px;
    font-weight: 600;
    transition: background-color .15s ease, transform .15s ease;
}

.hl-dock a + a { border-left: 1px solid var(--hl-line); border-radius: 0; }

.hl-dock a:hover { transform: translateY(-3px); color: var(--hl-brand-2); }

.hl-dock-ico { width: 32px; height: 32px; color: var(--hl-brand); }

/* ---------- Section chung ---------- */
.hl-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 64px) 0;
}

.hl-head { max-width: 640px; margin-bottom: 34px; }

.hl-head--split {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 24px 48px;
    align-items: end;
    max-width: none;
}

.hl-kicker {
    margin-bottom: 12px !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--hl-warm);
}

.hl-head h2 {
    font-size: clamp(28px, 3.6vw, 46px);
    font-weight: 800;
    line-height: 1.12;
}

.hl-head > p,
.hl-head--split > p {
    margin-top: 14px;
    font-size: 15.5px;
    line-height: 1.65;
}

/* ---------- Nen tang ---------- */
.hl-plat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.hl-plat {
    border: 1px solid #fff;
    border-radius: 20px;
    background: linear-gradient(120deg, #fff 40%, #f3efff);
    box-shadow: 0 22px 40px -30px rgba(60, 40, 140, .5);
    overflow: hidden;
    transition: box-shadow .2s ease;
}

.hl-plat:nth-child(3n + 2) { background: linear-gradient(120deg, #fff 40%, #ffeef4); }
.hl-plat:nth-child(3n) { background: linear-gradient(120deg, #fff 40%, #eaf4ff); }

.hl-plat.is-open { box-shadow: 0 30px 60px -34px rgba(60, 40, 140, .65); }

.hl-plat-sum {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 18px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.hl-plat-ico {
    width: 48px;
    height: 48px;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    color: var(--hl-brand);
    box-shadow: 0 8px 16px -10px rgba(60, 40, 140, .5);
}

.hl-plat-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }

.hl-plat-copy small {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hl-brand-2);
}

.hl-plat-copy b { color: var(--hl-ink); font-size: 15.5px; font-weight: 700; line-height: 1.3; }

.hl-plat-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

.hl-plat-meta em { font-size: 12px; font-style: normal; color: var(--hl-muted); white-space: nowrap; }

.hl-plat-act {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--hl-brand-2);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 14px -10px rgba(60, 40, 140, .6);
}

.hl-plat-act svg { transition: transform .2s ease; }

.hl-plat.is-open .hl-plat-act svg { transform: rotate(180deg); }

/* ---------- CTA ---------- */
.hl-cta {
    margin: clamp(56px, 7vw, 96px) clamp(18px, 5vw, 64px) clamp(28px, 4vw, 56px);
    padding: clamp(36px, 5vw, 64px) 24px;
    border-radius: 28px;
    background: var(--hl-grad);
    color: rgba(255, 255, 255, .88);
    text-align: center;
    box-shadow: 0 34px 70px -34px rgba(89, 63, 230, .8);
}

.hl-cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }

.hl-cta p { margin-top: 12px; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
    .hl [data-hl-reveal] { opacity: 1; transform: none; transition: none; }
    .hl-acc-panel, .hl-plat-links li { transition: none; }
    .hl-process-line path { stroke-dashoffset: 0; transition: none; }
    .hl-pcard, .hl-stage-glow { animation: none; }
}

@media (max-width: 1199.98px) {
    .hl-process, .hl-tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
    .hl { margin: -8px -8px 0; border-radius: 20px; }
    .hl-hero-grid { grid-template-columns: 1fr; }
    .hl-stage { min-height: 0; }
    .hl-stage-cards { gap: 16px 10px; transform: none; padding-bottom: 80px; }
    .hl-pcard { padding: 10px; font-size: 12px; }
    .hl-pcard i { display: none; }
    .hl-head--split { grid-template-columns: 1fr; }
    .hl-dock { margin-left: 12px; margin-right: 12px; justify-content: flex-start; border-radius: 24px; }
}

@media (max-width: 575.98px) {
    .hl-process, .hl-tier-grid, .hl-plat-grid { grid-template-columns: 1fr; }
    .hl-plat-meta em { display: none; }
    .hl-btn { width: 100%; justify-content: center; }
    .hl-faq-q { font-size: 15.5px; }
    .hl-faq-item p { padding-right: 4px; }
    .hl-process-line { display: none; }
    .hl-pstep:nth-of-type(even) { margin-top: 0; }
}

/* ---------- Hieu ung hien dan khi cuon (nhieu kieu, tre theo --hl-d) ---------- */
.hl [data-hl-reveal] {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition:
        opacity .75s cubic-bezier(.22, .8, .24, 1) var(--hl-d, 0s),
        transform .9s cubic-bezier(.22, .8, .24, 1) var(--hl-d, 0s),
        translate .35s cubic-bezier(.22, .8, .24, 1),
        box-shadow .35s ease;
}

.hl [data-hl-reveal="left"] { transform: translate3d(-46px, 0, 0); }
.hl [data-hl-reveal="right"] { transform: translate3d(46px, 0, 0); }
.hl [data-hl-reveal="zoom"] { transform: scale(.9); }
.hl [data-hl-reveal="fan"] { transform: translate3d(0, 44px, 0) rotate(2.5deg) scale(.96); transform-origin: 20% 100%; }

.hl [data-hl-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Accordion truot muot (the nen tang + FAQ) ---------- */
.hl-acc-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .5s cubic-bezier(.22, .8, .24, 1);
}

.hl-acc.is-open > .hl-acc-panel { grid-template-rows: 1fr; }

.hl-acc-inner {
    min-height: 0;
    overflow: hidden;
}

.hl-plat .hl-acc-inner { padding: 0 18px; }

.hl-plat-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    max-height: 320px;
    overflow-y: auto;
    margin: 0 0 18px;
    padding: 14px 0 0;
    border-top: 1px solid var(--hl-line);
    list-style: none;
}

.hl-plat-links li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .35s ease;
}

.hl-plat.is-open .hl-plat-links li {
    opacity: 1;
    transform: none;
    transition-delay: calc(.12s + var(--hl-i, 0) * .035s);
}

.hl-plat-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .8);
    color: var(--hl-ink);
    font-size: 14px;
    font-weight: 600;
    transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.hl-plat-links a span { color: var(--hl-brand); transition: transform .15s ease; }

.hl-plat-links a:hover {
    background: #fff;
    color: var(--hl-brand-2);
    box-shadow: 0 8px 18px -12px rgba(60, 40, 140, .55);
    transform: translateX(3px);
}

.hl-plat-links a:hover span { transform: translate(2px, -2px); }

.hl-plat { transition: box-shadow .35s ease, translate .35s cubic-bezier(.22, .8, .24, 1); }

.hl-plat:not(.is-open):hover { translate: 0 -3px; }

/* ---------- Quy trinh 4 buoc co duong noi ve dan ---------- */
.hl-how {
    background-image:
        linear-gradient(rgba(228, 87, 46, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(228, 87, 46, .05) 1px, transparent 1px);
    background-size: 28px 28px;
    max-width: none;
    margin-top: clamp(56px, 7vw, 96px);
    padding-bottom: clamp(48px, 6vw, 80px);
}

.hl-how > * { max-width: 1112px; margin-left: auto; margin-right: auto; }

.hl-how > .hl-head { margin-left: auto; margin-right: auto; max-width: 1112px; }

.hl-process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding: 26px 0 10px;
}

.hl-process-line {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 190px;
    pointer-events: none;
}

.hl-process-line path {
    fill: none;
    stroke: var(--hl-brand);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: .55;
    transition: stroke-dashoffset 2s cubic-bezier(.4, 0, .2, 1) .2s;
    vector-effect: non-scaling-stroke;
}

.hl-process.is-in .hl-process-line path { stroke-dashoffset: 0; }

.hl-pstep {
    position: relative;
    padding: 22px 20px;
    border: 1px solid #fff;
    border-radius: 22px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 44px -30px rgba(60, 40, 140, .5);
    transition: box-shadow .3s ease, translate .3s ease;
}

.hl-pstep:nth-of-type(even) { margin-top: 44px; }

.hl-pstep:hover { translate: 0 -4px; box-shadow: 0 30px 54px -30px rgba(60, 40, 140, .7); }

.hl-pstep-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--hl-grad);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 22px -12px rgba(89, 63, 230, .8);
}

.hl-pstep h3 { font-size: 17px; font-weight: 800; line-height: 1.3; }

.hl-pstep p { margin-top: 8px; font-size: 14px; line-height: 1.6; }

.hl-how .hl-actions { margin-top: 34px; }

/* ---------- Chinh sach gia theo cap bac ---------- */
.hl-tier-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.hl-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 26px 22px 22px;
    border: 1px solid #fff;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 44px -30px rgba(60, 40, 140, .45);
    overflow: hidden;
    transition: translate .3s ease, box-shadow .3s ease;
}

.hl-tier:hover { translate: 0 -6px; box-shadow: 0 34px 60px -30px rgba(60, 40, 140, .65); }

.hl-tier.is-accent {
    background: var(--hl-grad);
    color: rgba(255, 255, 255, .88);
}

.hl-tier-index {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    color: rgba(138, 75, 234, .12);
}

.hl-tier.is-accent .hl-tier-index { color: rgba(255, 255, 255, .22); }

.hl-tier-type {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hl-warm);
}

.hl-tier.is-accent .hl-tier-type { color: #ffe1c4; }

.hl-tier h3 { margin-top: 8px; font-size: 24px; font-weight: 800; }

.hl-tier.is-accent h3 { color: #fff; }

.hl-tier strong {
    display: block;
    margin-top: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hl-line);
    color: var(--hl-brand-2);
    font-size: 14.5px;
    font-weight: 700;
}

.hl-tier.is-accent strong { color: #fff; border-color: rgba(255, 255, 255, .25); }

.hl-tier ul {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.hl-tier li {
    position: relative;
    padding: 5px 0 5px 22px;
    font-size: 13.5px;
    line-height: 1.5;
}

.hl-tier li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 11px;
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--hl-brand);
    border-bottom: 2px solid var(--hl-brand);
    transform: rotate(-45deg);
}

.hl-tier.is-accent li::before { border-color: #fff; }

.hl-tier-note { margin-top: 22px !important; font-size: 14px; color: var(--hl-muted); }

.hl-tier-note a { color: var(--hl-brand-2); font-weight: 700; }

/* ---------- FAQ ---------- */
.hl-faq-list { max-width: 860px; }

.hl-faq-item { border-bottom: 1px solid var(--hl-line); }

.hl-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 4px;
    border: 0;
    background: transparent;
    color: var(--hl-ink);
    font-size: 16.5px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: color .15s ease;
}

.hl-faq-q:hover { color: var(--hl-brand-2); }

.hl-faq-q span {
    position: relative;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(138, 75, 234, .12);
    transition: background-color .25s ease, transform .4s cubic-bezier(.22, .8, .24, 1);
}

.hl-faq-q span::before,
.hl-faq-q span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--hl-brand-2);
    transform: translate(-50%, -50%);
    transition: transform .3s ease, background-color .25s ease;
}

.hl-faq-q span::after { transform: translate(-50%, -50%) rotate(90deg); }

.hl-faq-item.is-open .hl-faq-q span { background: var(--hl-brand-2); transform: rotate(180deg); }

.hl-faq-item.is-open .hl-faq-q span::before,
.hl-faq-item.is-open .hl-faq-q span::after { background: #fff; }

.hl-faq-item.is-open .hl-faq-q span::after { transform: translate(-50%, -50%) rotate(0); }

.hl-faq-item p { padding: 0 44px 20px 4px; font-size: 15px; line-height: 1.7; }

/* nut bam co hieu ung anh sang luot qua */
.hl-btn--primary { position: relative; overflow: hidden; }

.hl-btn--primary::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}

.hl-btn--primary:hover::after { left: 120%; }

/* ---------- Nen landing tran het vung noi dung (ca phia sau header), khong con la 1 the bo goc ---------- */
[data-theme="basic"] .page-content:has(.hl),
[data-theme="basic"] .page-wrapper:has(.hl) {
    background: linear-gradient(180deg, #fff8f1 0%, #fbf7ff 22%, #fff 55%, #fff8f3 100%) !important;
}

.hl {
    margin: 0 -24px;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.hl-hero { overflow: hidden; margin-top: -90px; padding-top: calc(clamp(36px, 6vw, 84px) + 90px); }

@media (max-width: 991.98px) {
    .hl { margin: 0 -12px; border-radius: 0; }
    .hl-hero { margin-top: -80px; }
}

/* ---------- The nen tang kieu danh muc: icon o trai, vet mau o mep tren, nen chuyen sac theo tung nen tang ---------- */
.hl-plat-grid { align-items: stretch; }

.hl-plat {
    --hl-tone: #8a4bea;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(23, 22, 58, .12);
    border-radius: 24px;
    background:
        linear-gradient(105deg, #fff 52%, color-mix(in srgb, var(--hl-tone) 14%, #fff) 100%);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 20px 36px -30px rgba(60, 40, 140, .4);
    overflow: hidden;
}

.hl-plat:nth-child(n) { background:
    linear-gradient(105deg, #fff 52%, color-mix(in srgb, var(--hl-tone) 14%, #fff) 100%); }

.hl-plat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 64px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--hl-tone), color-mix(in srgb, var(--hl-tone) 30%, transparent));
    transition: width .45s cubic-bezier(.22, .8, .24, 1);
}

.hl-plat:hover::before,
.hl-plat.is-open::before { width: 46%; }

.hl-plat-sum {
    align-items: flex-start;
    gap: 18px;
    padding: 22px 22px 18px;
}

.hl-plat-ico {
    width: 58px;
    height: 58px;
    padding: 10px;
    margin-top: 2px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 22px -14px rgba(23, 22, 58, .5), 0 0 0 1px rgba(23, 22, 58, .05);
}

.hl-plat-copy { gap: 6px; }

.hl-plat-copy small {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--hl-tone);
}

.hl-plat-copy b {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.hl-plat-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.hl-plat-foot em {
    font-size: 12.5px;
    font-style: normal;
    font-weight: 700;
    color: var(--hl-muted);
    white-space: nowrap;
}

.hl-plat-meta { display: none; }

.hl-plat-act {
    gap: 8px;
    padding: 4px 6px 4px 16px;
    border: 1px solid rgba(23, 22, 58, .08);
    background: rgba(255, 255, 255, .95);
    font-size: 12.5px;
    transition: box-shadow .25s ease, transform .25s ease;
}

.hl-plat-act i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(138, 75, 234, .14);
    color: var(--hl-brand-2);
}

.hl-plat-act svg { transition: transform .35s cubic-bezier(.22, .8, .24, 1); }

.hl-plat-sum:hover .hl-plat-act { box-shadow: 0 10px 20px -12px rgba(89, 63, 230, .7); transform: translateX(-2px); }

/* ---------- FAQ 2 cot: tieu de dinh ben trai, cau hoi ben phai ---------- */
.hl-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 28px 64px;
    align-items: start;
}

.hl-faq-side {
    position: sticky;
    top: 110px;
}

.hl-faq-side .hl-kicker { color: #4a5272; }

.hl-faq-side h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.08;
}

.hl-faq-side .hl-hand { display: block; margin-top: 6px; font-size: 1.05em; white-space: normal; }

.hl-faq-lead {
    max-width: 380px;
    margin-top: 20px !important;
    font-size: 15.5px;
    line-height: 1.65;
}

.hl-faq-cta {
    display: inline-flex;
    align-items: center;
    height: 46px;
    margin-top: 22px;
    padding: 0 22px;
    border: 1px solid rgba(23, 22, 58, .14);
    border-radius: 999px;
    background: #fff;
    color: var(--hl-ink);
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.hl-faq-cta:hover {
    transform: translateY(-2px);
    border-color: var(--hl-brand);
    color: var(--hl-brand-2);
    box-shadow: 0 14px 26px -16px rgba(89, 63, 230, .6);
}

.hl-faq-layout .hl-faq-list { max-width: none; }

.hl-faq-q span {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(23, 22, 58, .12);
    border-radius: 12px;
    background: #fff;
}

.hl-faq-item.is-open .hl-faq-q span {
    border-color: transparent;
    border-radius: 14px;
    background: var(--hl-brand-2);
    transform: rotate(180deg);
}

@media (max-width: 991.98px) {
    .hl-faq-layout { grid-template-columns: 1fr; gap: 24px; }
    .hl-faq-side { position: static; }
    .hl-plat-sum { padding: 18px 16px 14px; gap: 14px; }
    .hl-plat-ico { width: 50px; height: 50px; }
}

/* ---------- Responsive (dat cuoi file de thang cac rule co so o tren) ---------- */
@media (max-width: 1199.98px) {
    .hl-process, .hl-tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-plat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hl-pstep:nth-of-type(even) { margin-top: 0; }
    .hl-process-line { display: none; }
}

@media (max-width: 767.98px) {
    .hl-plat-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575.98px) {
    .hl-process, .hl-tier-grid, .hl-plat-grid { grid-template-columns: minmax(0, 1fr); }
    .hl-hero { padding-top: calc(28px + 80px); }
    .hl-stage-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 40px; }
    .hl-pcard, .hl-pcard:nth-child(3n + 2), .hl-pcard:nth-child(3n) { min-width: 0; transform: none; animation: none; }
    .hl-pcard span, .hl-pcard b { overflow: visible; text-overflow: clip; white-space: normal; }
    .hl-tier { min-width: 0; }
    .hl-tier-grid { gap: 14px; }
    .hl-tier li, .hl-tier p, .hl-tier h3 { overflow-wrap: anywhere; }
    .hl-stats { flex-wrap: wrap; gap: 10px 18px; }
    .hl-dock { margin-left: 0; margin-right: 0; }
    .hl-plat-sum { padding: 16px 14px 12px; gap: 12px; }
    .hl-plat-foot { flex-wrap: wrap; gap: 8px; }
    .hl-cta { padding-left: 18px; padding-right: 18px; }
}

/* Thu tu lop: orbit/glow/de o duoi, the nen tang o tren (de khong de len the) */
.hl-stage-orbit, .hl-stage-glow, .hl-stage-base { z-index: 0; pointer-events: none; }
.hl-stage-cards { z-index: 1; }
@media (max-width: 575.98px) {
    .hl-stage-cards { padding-bottom: 84px; }
    .hl-stage-base { height: 56px; bottom: 0; }
}

/* The nen tang o hero la link that: bam de cuon toi danh muc */
a.hl-pcard { color: inherit; text-decoration: none; cursor: pointer; }
a.hl-pcard:hover { color: inherit; }

/* Mobile: an thanh dock nen tang (da co the nen tang o hero va danh muc ben duoi) */
@media (max-width: 767.98px) {
    .hl-dock { display: none; }
}

/* Mobile: giu bo cuc 3 cot le + nghieng 3D nhu ban mau (the thu nho de du ten, co mui ten) */
@media (max-width: 767.98px) {
    .hl-stage { perspective: 900px; }
    .hl-stage-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 8px;
        padding: 14px 0 96px;
        transform: rotateX(8deg) rotateY(-8deg);
        transform-style: preserve-3d;
    }
    .hl-pcard,
    .hl-pcard:nth-child(3n + 2),
    .hl-pcard:nth-child(3n) { animation: hlFloat 6s ease-in-out infinite; padding: 9px 7px; gap: 6px; font-size: 11px; border-radius: 12px; }
    .hl-pcard:nth-child(3n + 2) { animation-delay: -2s; transform: translateY(-14px); }
    .hl-pcard:nth-child(3n) { animation-delay: -4s; transform: translateY(8px); }
    .hl-pcard-ico { width: 22px; height: 22px; }
    .hl-pcard i { display: inline; font-size: 14px; }
    .hl-pcard b { font-size: 11px; }
    .hl-stage-base { height: 64px; left: 6%; right: 6%; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .hl-pcard, .hl-pcard:nth-child(3n + 2), .hl-pcard:nth-child(3n) { animation: none; }
}

/* Man hinh rat nho (<=360px): bo mui ten the nen tang cho khoi chen ten */
@media (max-width: 360px) {
    .hl-pcard i { display: none; }
    .hl-pcard { gap: 5px; padding: 8px 6px; }
}
