﻿/* =========================================================
   HOME PREMIUM — nạp sau styles.css, chỉ ghi đè phần giao diện trang chủ
   Palette: Deep water #071A2F · Teal #0891A8 · Lagoon #E4F4F3
            Coral #FF6B4A (áp lực thấp) · Amber #FFB238 (cảnh báo)
   Type:    Be Vietnam Pro (một họ, nhiều độ đậm)
   ========================================================= */

:root {
    --bs-body-font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --hp-ink: #071A2F;
    --hp-ink-2: #0C2542;
    --hp-teal: #0891A8;
    --hp-teal-deep: #066476;
    --hp-lagoon: #E4F4F3;
    --hp-paper: #F4F8F8;
    --hp-line: #DCE6E6;
    --hp-amber: #FFB238;
    --hp-coral: #FF6B4A;
    --hp-radius: 20px;
}

body {
    background: var(--hp-paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Nhãn nhỏ phía trên tiêu đề: bỏ chữ hoa, giữ gọn */
.eyebrow {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hp-teal-deep);
    margin-bottom: 14px;
}

    .eyebrow::before {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--hp-teal);
    }

:focus-visible {
    outline: 2px solid var(--hp-teal);
    outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn-flow {
    background: var(--hp-ink);
    color: #fff;
    border: 0;
    border-radius: 999px !important;
    padding: 0.8rem 1.7rem !important;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

    .btn-flow:hover {
        background: var(--hp-teal);
        box-shadow: 0 16px 30px -14px rgba(8, 145, 168, .75);
        transform: translateY(-2px);
    }

.btn-flow-light {
    background: #fff;
    color: var(--hp-ink);
}

    .btn-flow-light:hover {
        background: var(--hp-teal);
        color: #fff;
    }

/* =========================================================
   HEADER
   ========================================================= */
header.nav {
    padding: 18px 0;
}

    header.nav.scrolled {
        padding: 10px 0;
        background: rgba(244, 248, 248, .82);
        backdrop-filter: saturate(160%) blur(16px);
        -webkit-backdrop-filter: saturate(160%) blur(16px);
        border-bottom: 1px solid rgba(7, 26, 47, .07);
        box-shadow: 0 10px 30px -22px rgba(7, 26, 47, .35);
    }

    header.nav .brand-name {
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    header.nav .desktop-menu a {
        position: relative;
        font-size: 0.95rem;
        font-weight: 500;
        color: #4A5D75 !important;
        padding: 6px 2px;
        transition: color .2s ease;
    }

        header.nav .desktop-menu a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 2px;
            border-radius: 2px;
            background: var(--hp-teal);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .25s ease;
        }

        header.nav .desktop-menu a:hover {
            color: var(--hp-ink) !important;
        }

            header.nav .desktop-menu a:hover::after {
                transform: scaleX(1);
            }

    header.nav .btn-outline-secondary {
        border-radius: 999px;
        border: 1px solid rgba(7, 26, 47, .18);
        color: var(--hp-ink);
        font-weight: 600;
        font-size: 0.92rem;
        padding: 0.5rem 1.25rem;
        background: rgba(255, 255, 255, .6);
        transition: background .2s ease, color .2s ease, border-color .2s ease;
    }

        header.nav .btn-outline-secondary:hover,
        header.nav .btn-outline-secondary:focus {
            background: var(--hp-ink);
            border-color: var(--hp-ink);
            color: #fff;
        }

/* =========================================================
   HERO
   ========================================================= */
.hp-hero {
    position: relative;
    padding: 150px 0 0;
    overflow: hidden;
    isolation: isolate;
}

    .hp-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(760px 460px at 88% 0%, rgba(8, 145, 168, .16), transparent 62%), radial-gradient(520px 380px at 0% 30%, rgba(255, 178, 56, .10), transparent 65%), radial-gradient(rgba(7, 26, 47, .09) 1px, transparent 1.2px) 0 0 / 24px 24px;
        -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
        mask-image: linear-gradient(to bottom, #000 55%, transparent);
    }

.hp-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--hp-line);
    color: var(--hp-teal-deep);
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: 0 6px 18px -12px rgba(7, 26, 47, .35);
    margin-bottom: 26px;
}

    .hp-badge .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--hp-teal);
        box-shadow: 0 0 0 0 rgba(8, 145, 168, .5);
        animation: hp-ping 2.2s ease-out infinite;
    }

@keyframes hp-ping {
    70% {
        box-shadow: 0 0 0 9px rgba(8, 145, 168, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(8, 145, 168, 0);
    }
}

.hp-title {
    font-size: clamp(2.3rem, 4.3vw, 3.7rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--hp-ink);
    margin-bottom: 22px;
}

    .hp-title em {
        font-style: normal;
        color: inherit;
        background: none;
    }

.hp-lead {
    font-size: 1.12rem;
    line-height: 1.7;
    color: #4A5D75;
    max-width: 34rem;
    margin-bottom: 34px;
}

/* ---------- Instrument panel (điểm nhấn duy nhất của hero) ---------- */
.hp-panel {
    position: relative;
    border-radius: 24px;
    background: linear-gradient(160deg, var(--hp-ink-2), var(--hp-ink) 62%);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 50px 90px -40px rgba(7, 26, 47, .75), 0 0 0 8px rgba(8, 145, 168, .06);
    color: #D6E4F0;
    overflow: hidden;
}

.hp-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-size: 0.82rem;
}

.hp-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9FB6CC;
    font-weight: 500;
}

    .hp-file i {
        color: var(--hp-teal);
    }

.hp-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(8, 145, 168, .16);
    color: #7FD9E8;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

    .hp-live .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #3FD0E6;
        animation: blink 1.8s ease-in-out infinite;
    }

.hp-canvas {
    position: relative;
    height: 380px;
    background: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 28px 28px;
}

    .hp-canvas::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(420px 260px at 50% 45%, rgba(8, 145, 168, .13), transparent 70%);
    }

    .hp-canvas svg {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        display: block;
    }

.hp-pipe {
    fill: none;
    stroke: #2A4768;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: hp-draw 1.5s cubic-bezier(.6, .1, .2, 1) forwards;
    animation-delay: calc(var(--i, 0) * 110ms);
}

@keyframes hp-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.hp-flow {
    fill: none;
    stroke: #3FD0E6;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 3 14;
    opacity: 0;
    filter: drop-shadow(0 0 4px rgba(63, 208, 230, .7));
    animation: hp-flowmove var(--flow-speed, 4.5s) linear infinite, hp-show .6s ease forwards;
    animation-delay: 0s, calc(1.2s + var(--i, 0) * 110ms);
}

@keyframes hp-flowmove {
    to {
        stroke-dashoffset: -34;
    }
}

@keyframes hp-show {
    to {
        opacity: 1;
    }
}

.hp-node {
    stroke: var(--hp-ink);
    stroke-width: 3;
    opacity: 0;
    transition: fill .5s ease;
    animation: hp-show .5s ease forwards;
    animation-delay: calc(1.1s + var(--i, 0) * 70ms);
}

    .hp-node.is-ok {
        fill: #2FC4DC;
    }

    .hp-node.is-warn {
        fill: var(--hp-amber);
    }

    .hp-node.is-low {
        fill: var(--hp-coral);
    }

.hp-select-ring {
    fill: none;
    stroke: #fff;
    stroke-width: 1.5;
    opacity: .85;
    transform-origin: 250px 190px;
    animation: hp-ring 4s ease-out infinite;
}

@keyframes hp-ring {
    0% {
        transform: scale(.7);
        opacity: .9;
    }

    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}

.hp-svg-label {
    font-size: 11px;
    font-weight: 600;
    fill: #9FB6CC;
}

/* Thẻ số đo của nút đang chọn */
.hp-readout {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 3;
    min-width: 206px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(7, 26, 47, .72);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-variant-numeric: tabular-nums;
}

.hp-readout-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #9FB6CC;
    margin-bottom: 10px;
}

.hp-readout-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #9FB6CC;
}

    .hp-readout-row:last-child {
        margin-bottom: 0;
    }

    .hp-readout-row b {
        color: #fff;
        font-weight: 700;
    }

        .hp-readout-row b.is-low {
            color: #FF9A82;
        }

/* Thanh thời gian — thao tác của người dùng */
.hp-panel-foot {
    padding: 16px 20px 18px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.hp-scrub-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: #9FB6CC;
}

.hp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

    .hp-legend span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .hp-legend i {
        width: 9px;
        height: 9px;
        border-radius: 3px;
        display: inline-block;
    }

.hp-clock {
    color: #fff;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hp-spark {
    position: relative;
    height: 44px;
    margin: 4px 0 2px;
}

    .hp-spark svg {
        width: 100%;
        height: 100%;
        display: block;
        overflow: visible;
    }

.hp-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 22px;
    margin: 0;
    background: transparent;
    cursor: pointer;
}

    .hp-range::-webkit-slider-runnable-track {
        height: 4px;
        border-radius: 4px;
        background: rgba(255, 255, 255, .14);
    }

    .hp-range::-moz-range-track {
        height: 4px;
        border-radius: 4px;
        background: rgba(255, 255, 255, .14);
    }

    .hp-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        margin-top: -7px;
        border-radius: 50%;
        border: 3px solid var(--hp-ink);
        background: #3FD0E6;
        box-shadow: 0 0 0 2px #3FD0E6;
    }

    .hp-range::-moz-range-thumb {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 3px solid var(--hp-ink);
        background: #3FD0E6;
        box-shadow: 0 0 0 2px #3FD0E6;
    }

/* ---------- Dải số liệu ---------- */
.hp-stats {
    position: relative;
    margin-top: 72px;
    padding: 28px 0 40px;
    border-top: 1px solid var(--hp-line);
}

.hp-stat {
    padding-left: 24px;
    border-left: 1px solid var(--hp-line);
}

    .hp-stat:first-child {
        padding-left: 0;
        border-left: 0;
    }

.hp-stat-value {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--hp-ink);
    font-variant-numeric: tabular-nums;
}

.hp-stat-label {
    font-size: 0.9rem;
    color: #5B6E86;
    max-width: 16rem;
}

/* =========================================================
   SECTION HEAD (dùng chung)
   ========================================================= */
.hp-section {
    padding: 70px 0;
}

.hp-head {
    margin-bottom: 56px;
}

.hp-h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: var(--hp-ink);
}

.hp-sub {
    font-size: 1.06rem;
    line-height: 1.7;
    color: #52657D;
}

/* =========================================================
   FEATURES
   ========================================================= */
.hp-feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--hp-line);
    border: 1px solid var(--hp-line);
    border-radius: 24px;
    overflow: hidden;
}

.hp-feat {
    position: relative;
    padding: 34px 32px 38px;
    background: #fff;
    transition: background .3s ease;
}

    .hp-feat:hover {
        background: #FBFEFE;
    }

.hp-feat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    background: var(--hp-lagoon);
    color: var(--hp-teal-deep);
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.hp-feat:hover .hp-feat-icon {
    background: var(--hp-teal);
    color: #fff;
    transform: rotate(-6deg);
}

.hp-feat h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--hp-ink);
}

.hp-feat p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5B6E86;
}

/* =========================================================
   WORKFLOW (khối tối) — đây là một chuỗi bước thật nên có đánh số
   ========================================================= */
.hp-flow-section {
    position: relative;
    padding: 110px 0;
    background: var(--hp-ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

    .hp-flow-section::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(640px 320px at 8% 0%, rgba(8, 145, 168, .24), transparent 62%), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 40px 40px;
    }

    .hp-flow-section .hp-h2 {
        color: #fff;
    }

    .hp-flow-section .hp-sub {
        color: #A7BAD0;
    }

    .hp-flow-section .eyebrow {
        color: #7FD9E8;
    }

        .hp-flow-section .eyebrow::before {
            background: #3FD0E6;
        }

.hp-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--steps, 4), 1fr);
    gap: 32px;
}

    .hp-steps::before {
        content: "";
        position: absolute;
        top: 29px;
        left: 30px;
        right: 30px;
        height: 2px;
        background: repeating-linear-gradient(90deg, #3FD0E6 0 6px, transparent 6px 16px);
        opacity: .5;
        animation: hp-line 1.2s linear infinite;
        background-size: 16px 2px;
    }

@keyframes hp-line {
    to {
        background-position-x: 16px;
    }
}

.hp-step {
    position: relative;
}

.hp-step-num {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
    background: var(--hp-ink-2);
    border: 1px solid #2A4B72;
    color: #7FD9E8;
    font-weight: 800;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
    box-shadow: 0 0 0 6px var(--hp-ink);
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.hp-step:hover .hp-step-num {
    background: var(--hp-teal);
    border-color: var(--hp-teal);
    color: #fff;
}

.hp-step h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 10px;
}

.hp-step p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.7;
    color: #A7BAD0;
}

/* =========================================================
   MAP / GIS
   ========================================================= */
.hp-map-section {
    background: linear-gradient(180deg, var(--hp-lagoon), #EEF7F6);
    padding: 50px 0;
}

.hp-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
}

    .hp-checks li {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 0;
        border-bottom: 1px solid rgba(7, 26, 47, .08);
        color: #25394F;
        line-height: 1.6;
    }

        .hp-checks li:first-child {
            border-top: 1px solid rgba(7, 26, 47, .08);
        }

    .hp-checks svg {
        flex: 0 0 auto;
        margin-top: 3px;
        color: var(--hp-teal-deep);
    }

.hp-map-card {
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(7, 26, 47, .08);
    box-shadow: 0 40px 80px -44px rgba(7, 26, 47, .5);
    overflow: hidden;
}

.hp-map-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--hp-line);
}

    .hp-map-bar > span {
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--hp-ink);
    }

.hp-layers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hp-layer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--hp-line);
    background: #fff;
    color: #4A5D75;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

    .hp-layer i {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: currentColor;
        opacity: .45;
    }

    .hp-layer[aria-pressed="true"] {
        background: var(--hp-ink);
        border-color: var(--hp-ink);
        color: #fff;
    }

        .hp-layer[aria-pressed="true"] i {
            opacity: 1;
            background: #3FD0E6;
        }

.hp-map-body {
    height: 360px;
    background: radial-gradient(300px 200px at 30% 30%, #EAF4F3, transparent 65%), #F4F8F8;
}

    .hp-map-body svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    .hp-map-body g {
        transition: opacity .35s ease;
    }

        .hp-map-body g.is-off {
            opacity: 0;
        }

/* =========================================================
   FAQ
   ========================================================= */
.hp-faq .accordion-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--hp-line);
}

    .hp-faq .accordion-item:first-child {
        border-top: 1px solid var(--hp-line);
    }

.hp-faq .accordion-button {
    background: transparent;
    box-shadow: none;
    color: var(--hp-ink);
    font-weight: 700;
    font-size: 1.08rem;
    padding: 26px 48px 26px 0;
    letter-spacing: -0.01em;
}

    .hp-faq .accordion-button:not(.collapsed) {
        color: var(--hp-teal-deep);
    }

    .hp-faq .accordion-button::after {
        position: absolute;
        right: 4px;
        width: 28px;
        height: 28px;
        background-size: 14px;
        background-position: center;
        border-radius: 50%;
        border: 1px solid var(--hp-line);
        transition: transform .3s ease, background-color .3s ease;
    }

    .hp-faq .accordion-button:not(.collapsed)::after {
        background-color: var(--hp-lagoon);
        border-color: transparent;
    }

    .hp-faq .accordion-button:focus-visible {
        outline: 2px solid var(--hp-teal);
        outline-offset: 2px;
    }

.hp-faq .accordion-body {
    padding: 0 48px 28px 0;
    line-height: 1.75;
    color: #52657D;
}

@media (min-width: 992px) {
    .hp-sticky {
        position: sticky;
        top: 110px;
    }
}

/* =========================================================
   CTA
   ========================================================= */
.hp-cta-section {
    padding: 40px 0 50px;
}

.hp-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: 32px;
    padding: 50px 40px;
    text-align: center;
    background: linear-gradient(150deg, var(--hp-ink-2), var(--hp-ink) 70%);
}

    .hp-cta::before {
        content: "";
        position: absolute;
        z-index: -1;
        width: 760px;
        height: 760px;
        right: -240px;
        top: -380px;
        border-radius: 50%;
        background: repeating-radial-gradient(circle, transparent 0 34px, rgba(63, 208, 230, .13) 34px 35px);
        -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
        mask-image: radial-gradient(circle, #000 30%, transparent 70%);
    }

    .hp-cta::after {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background: radial-gradient(520px 240px at 12% 100%, rgba(8, 145, 168, .3), transparent 65%);
    }

    .hp-cta h2 {
        font-size: clamp(1.8rem, 3.4vw, 2.8rem);
        font-weight: 800;
        letter-spacing: -0.03em;
        color: #fff;
        margin: 0 auto 16px;
    }

    .hp-cta p {
        margin: 0 auto 32px;
        font-size: 1.06rem;
        line-height: 1.7;
        color: #A7BAD0;
    }

/* =========================================================
   PRICING
   ========================================================= */
#pricing:not(.pricing-section) {
    background: #fff !important;
    padding: 104px 0 !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
    .hp-hero {
        padding-top: 118px;
    }

    .hp-canvas {
        height: 330px;
    }

    .hp-feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-section, .hp-flow-section, .hp-map-section, #pricing:not(.pricing-section) {
        padding-top: 76px !important;
        padding-bottom: 76px !important;
    }

    .hp-steps {
        grid-template-columns: 1fr;
        gap: 0;
    }

        .hp-steps::before {
            top: 30px;
            bottom: 30px;
            left: 29px;
            right: auto;
            width: 2px;
            height: auto;
            background: repeating-linear-gradient(180deg, #3FD0E6 0 6px, transparent 6px 16px);
            animation: none;
        }

    .hp-step {
        display: grid;
        grid-template-columns: 60px 1fr;
        column-gap: 22px;
        padding-bottom: 36px;
    }

    .hp-step-num {
        grid-row: span 2;
        margin-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .hp-stats {
        margin-top: 48px;
    }

    .hp-stat {
        padding-left: 0;
        border-left: 0;
        margin-bottom: 18px;
    }

    .hp-feat-grid {
        grid-template-columns: 1fr;
    }

    .hp-feat {
        padding: 28px 24px;
    }

    .hp-cta {
        padding: 56px 24px;
        border-radius: 24px;
    }

    .hp-readout {
        left: 12px;
        bottom: 12px;
        min-width: 180px;
        padding: 11px 13px;
    }

    .hp-faq .accordion-button {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-pipe {
        animation: none;
        stroke-dashoffset: 0;
    }

    .hp-flow, .hp-node {
        animation: none;
        opacity: 1;
    }

    .hp-flow {
        stroke-dasharray: 3 14;
    }

    .hp-select-ring, .hp-badge .dot, .hp-live .dot, .hp-steps::before {
        animation: none;
    }

    .btn-flow, .hp-feat-icon, .hp-map-body g {
        transition: none;
    }
}


/* =========================================================
   ĐỒNG BỘ CÁC TRANG TRONG: Bảng giá · Liên hệ · Tin tức · Bài viết · Thanh toán
   ========================================================= */

/* ---------- Nút & form dùng chung ---------- */
.btn-primary {
    --bs-btn-bg: var(--hp-ink);
    --bs-btn-border-color: var(--hp-ink);
    --bs-btn-hover-bg: var(--hp-teal);
    --bs-btn-hover-border-color: var(--hp-teal);
    --bs-btn-active-bg: var(--hp-teal-deep);
    --bs-btn-active-border-color: var(--hp-teal-deep);
    --bs-btn-disabled-bg: var(--hp-ink);
    --bs-btn-disabled-border-color: var(--hp-ink);
    --bs-btn-focus-shadow-rgb: 8, 145, 168;
    border-radius: 999px;
    font-weight: 600;
    transition: background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

    .btn-primary:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px -16px rgba(8, 145, 168, .8);
    }

.btn-outline-primary {
    --bs-btn-color: var(--hp-teal-deep);
    --bs-btn-border-color: rgba(7, 26, 47, .22);
    --bs-btn-hover-bg: var(--hp-ink);
    --bs-btn-hover-border-color: var(--hp-ink);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--hp-ink);
    --bs-btn-active-border-color: var(--hp-ink);
    --bs-btn-focus-shadow-rgb: 8, 145, 168;
    border-radius: 999px;
    font-weight: 600;
}

.text-primary {
    color: var(--hp-teal-deep) !important;
}

.bg-primary-subtle {
    background-color: var(--hp-lagoon) !important;
}

.form-control,
.form-select {
    border-radius: 12px;
    border-color: var(--hp-line);
    padding-top: .65rem;
    padding-bottom: .65rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--hp-teal);
        box-shadow: 0 0 0 4px rgba(8, 145, 168, .14);
        background-color: #fff;
    }

    .form-control.bg-light,
    .form-select.bg-light,
    .input-group-text.bg-light {
        background-color: #F6FAFA !important;
    }

        .form-control.bg-light:focus,
        .form-select.bg-light:focus {
            background-color: #fff !important;
        }

.input-group > .input-group-text:first-child {
    border-radius: 12px 0 0 12px;
    border-color: var(--hp-line);
    color: #6B7E94;
}

.input-group > .form-control:last-child {
    border-radius: 0 12px 12px 0;
}

.input-group:focus-within .input-group-text {
    border-color: var(--hp-teal);
}

.form-label {
    color: var(--hp-ink);
    font-size: .92rem;
}

main .card.shadow-sm {
    border: 1px solid var(--hp-line) !important;
    border-radius: 24px !important;
    box-shadow: 0 30px 60px -44px rgba(7, 26, 47, .45) !important;
}

.alert-info {
    background: var(--hp-lagoon);
    border: 0;
    color: var(--hp-ink);
    border-radius: 16px;
}

/* ---------- Đầu trang con ---------- */
.page-header {
    padding: 124px 0 24px;
    isolation: isolate;
}

    .page-header::before {
        z-index: -1;
        background: radial-gradient(620px 340px at 90% -10%, rgba(8, 145, 168, .15), transparent 62%), radial-gradient(rgba(7, 26, 47, .08) 1px, transparent 1.2px) 0 0 / 24px 24px;
        -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
        mask-image: linear-gradient(to bottom, #000 40%, transparent);
    }

.breadcrumb {
    --bs-breadcrumb-divider: "/";
    --bs-breadcrumb-divider-color: #9AABBE;
}

    .breadcrumb a {
        transition: color .2s ease;
    }

        .breadcrumb a:hover {
            color: var(--hp-teal-deep) !important;
        }

main h1.display-5 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--hp-ink);
}

main .lead,
main .fs-5.text-secondary {
    color: #52657D !important;
    line-height: 1.7;
}

/* ---------- Liên hệ ---------- */
main .bg-primary-subtle.rounded-3 {
    border-radius: 14px !important;
}

.btn-light.border.rounded-circle {
    background: #fff;
    border-color: var(--hp-line) !important;
    color: var(--hp-ink);
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

    .btn-light.border.rounded-circle:hover {
        background: var(--hp-ink);
        border-color: var(--hp-ink) !important;
        color: #fff;
    }

/* ---------- Tin tức ---------- */
.news-card {
    border: 1px solid var(--hp-line);
    border-radius: 22px;
    background: #fff;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

    .news-card:hover {
        border-color: #B9D4D6;
        box-shadow: 0 34px 60px -40px rgba(7, 26, 47, .5);
        transform: translateY(-4px);
    }

.news-cover img {
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.news-card:hover .news-cover img {
    transform: scale(1.04);
}

.chip {
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    color: #4A5D75;
}

    .chip:hover {
        color: var(--hp-ink);
        border-color: var(--hp-teal);
    }

    .chip.active {
        background: var(--hp-ink);
        border-color: var(--hp-ink);
        color: #fff;
    }

.cat-badge {
    text-transform: none;
    letter-spacing: 0;
    font-size: .8rem;
    font-weight: 600;
    padding: 5px 13px;
}

.news-meta {
    font-size: .84rem;
    color: #7A8DA3;
}

.search-pill {
    padding: 12px 18px;
    box-shadow: 0 10px 24px -20px rgba(7, 26, 47, .45);
}

.post-title {
    letter-spacing: -0.02em;
    color: var(--hp-ink);
}

.pagination {
    gap: 8px;
    flex-wrap: wrap;
}

    .pagination .page-link {
        min-width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px !important;
        border: 1px solid var(--hp-line);
        color: #4A5D75;
        font-weight: 600;
        background: #fff;
        transition: border-color .2s ease, color .2s ease, background .2s ease;
    }

        .pagination .page-link:hover {
            border-color: var(--hp-teal);
            color: var(--hp-ink);
            background: #fff;
        }

    .pagination .page-item.active .page-link {
        background: var(--hp-ink);
        border-color: var(--hp-ink);
        color: #fff;
    }

    .pagination .page-item.disabled .page-link {
        opacity: .45;
    }

/* ---------- Bài viết ---------- */
.article-prose {
    font-size: 1.06rem;
    line-height: 1.85;
    color: #243A52;
}

    .article-prose h2,
    .article-prose h3 {
        color: var(--hp-ink);
        letter-spacing: -0.02em;
    }

    .article-prose a {
        color: var(--hp-teal-deep);
        text-underline-offset: 3px;
    }

    .article-prose img {
        border-radius: 16px;
    }

    .article-prose blockquote {
        margin: 1.8rem 0;
        padding: 6px 0 6px 22px;
        border-left: 3px solid var(--hp-teal);
        color: #3A506A;
        font-size: 1.1rem;
    }

.article-callout {
    background: var(--hp-lagoon);
    border-left-color: var(--hp-teal);
    border-radius: 0 16px 16px 0;
}

.toc-card {
    border-radius: 18px;
    border-color: var(--hp-line);
}

.toc-link:hover, .toc-link.active {
    color: var(--hp-teal-deep);
    border-left-color: var(--hp-teal);
}

.share-btn:hover {
    background: var(--hp-ink);
    border-color: var(--hp-ink);
    color: #fff;
}

.author-avatar {
    background: var(--hp-ink);
}

/* ---------- Thanh toán: đổi bảng màu xanh cũ sang bảng màu mới ---------- */
body .checkout-page {
    --pay-blue: #066476;
    --pay-blue-dark: #071A2F;
    --pay-ink: #071A2F;
    --pay-muted: #5B6E86;
    --pay-border: #DCE6E6;
    background: var(--hp-paper);
    font-family: var(--font-display);
}

    body .checkout-page :is(h1, h2, h3, h4) {
        letter-spacing: -0.02em;
    }

    body .checkout-page .payment-card {
        border-radius: 22px;
    }

/* ---------- Bảng giá (dùng chung trang chủ và /Pricing) ---------- */
#pricing .card.pricing-card {
    border: 1px solid var(--hp-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: none;
    transition: border-color .25s ease, box-shadow .25s ease;
}

    #pricing .card.pricing-card:hover {
        border-color: #B9D4D6;
        box-shadow: 0 30px 60px -40px rgba(7, 26, 47, .45);
    }

    #pricing .card.pricing-card .card-body {
        padding: 34px 30px 30px !important;
    }

#pricing .pricing-desc {
    color: #5B6E86;
    line-height: 1.6;
}

#pricing .pricing-limit {
    color: var(--hp-teal-deep);
}

#pricing .pricing-check {
    color: var(--hp-teal);
    margin-top: 2px;
}

#pricing .pricing-unit {
    color: #6B7E94;
}

#pricing .pricing-price {
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    letter-spacing: -0.03em;
    color: var(--hp-ink);
    font-variant-numeric: tabular-nums;
}

#pricing .pricing-card-popular {
    background: linear-gradient(160deg, var(--hp-ink-2), var(--hp-ink) 70%);
    border-color: transparent;
    box-shadow: 0 40px 80px -40px rgba(7, 26, 47, .7);
    color: #D6E4F0;
}

    #pricing .pricing-card-popular .card-title,
    #pricing .pricing-card-popular .pricing-price {
        color: #fff;
    }

    #pricing .pricing-card-popular .pricing-desc,
    #pricing .pricing-card-popular .pricing-unit {
        color: #A7BAD0;
    }

    #pricing .pricing-card-popular .pricing-limit {
        color: #7FD9E8;
    }

    #pricing .pricing-card-popular .pricing-check {
        color: #3FD0E6;
    }

#pricing .pricing-badge {
    background: var(--hp-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

#pricing .pricing-button {
    border-radius: 999px;
    font-weight: 600;
    white-space: normal;
}

#pricing .pricing-button-current:disabled {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #6b7280;
    opacity: 1;
    cursor: default;
}

@media (min-width: 768px) {
    #pricing .card.pricing-card .card-text {
        min-height: 4.5em;
    }

    #pricing .card.pricing-card .card-body > .pricing-price {
        min-height: 2.5rem;
    }

    #pricing .card.pricing-card .card-body > p.pricing-limit {
        min-height: 3em;
    }
}

/* =========================================================
   FOOTER
   ========================================================= */
.hp-footer {
    position: relative;
    padding: 50px 0 28px;
    background: var(--hp-ink);
    color: #A7BAD0;
    overflow: hidden;
    isolation: isolate;
}

    .hp-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: radial-gradient(620px 300px at 0% 0%, rgba(8, 145, 168, .22), transparent 62%), linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 40px 40px;
    }

    .hp-footer a {
        text-decoration: none;
        transition: color .2s ease;
    }

.hp-foot-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

    .hp-foot-brand:hover {
        color: #fff;
    }

.hp-foot-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    padding: 6px;
}

    .hp-foot-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.hp-foot-desc {
    max-width: 30rem;
    margin-bottom: 24px;
    font-size: .94rem;
    line-height: 1.75;
}

.hp-foot-social {
    display: flex;
    gap: 10px;
}

    .hp-foot-social a {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, .16);
        color: #D6E4F0;
        transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
    }

        .hp-foot-social a:hover {
            background: var(--hp-teal);
            border-color: var(--hp-teal);
            color: #fff;
            transform: translateY(-2px);
        }

.hp-foot-title {
    margin-bottom: 18px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hp-foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .hp-foot-links a {
        color: #A7BAD0;
        font-size: .94rem;
    }

        .hp-foot-links a:hover {
            color: #fff;
        }

.hp-foot-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: .94rem;
    line-height: 1.6;
}

    .hp-foot-contact li {
        display: flex;
        gap: 14px;
        align-items: flex-start;
    }

    .hp-foot-contact i {
        flex: 0 0 auto;
        margin-top: 2px;
        color: #3FD0E6;
        font-size: 1.05rem;
    }

    .hp-foot-contact a {
        color: #D6E4F0;
    }

        .hp-foot-contact a:hover {
            color: #fff;
        }

.hp-foot-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .86rem;
}

    .hp-foot-bottom a {
        color: #A7BAD0;
    }

        .hp-foot-bottom a:hover {
            color: #fff;
        }

.hp-foot-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: center;
}

.hp-foot-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #D6E4F0 !important;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .hp-footer {
        padding-top: 56px;
    }

    .hp-foot-bottom {
        margin-top: 40px;
    }
}


/* ---------- Trang /Pricing: nền liền mạch với đầu trang ---------- */
.page-header + #pricing:not(.pricing-section) {
    background: transparent !important;
    padding-top: 32px !important;
}

/* ---------- Gói phổ biến: nổi bật rõ hơn ---------- */
#pricing .pricing-card-popular {
    border: 1px solid rgba(63, 208, 230, .55);
    background: radial-gradient(420px 220px at 50% -10%, rgba(8, 145, 168, .45), transparent 70%), linear-gradient(160deg, var(--hp-ink-2), var(--hp-ink) 70%);
    box-shadow: 0 0 0 4px rgba(8, 145, 168, .14), 0 50px 90px -40px rgba(8, 145, 168, .65);
}


#pricing .pricing-badge {
    background: linear-gradient(90deg, #0891A8, #22C1DA);
    box-shadow: 0 8px 18px -8px rgba(8, 145, 168, .9);
    padding: 8px 18px !important;
    font-size: 12.5px;
}

/* Nút của gói phổ biến: xanh teal, chữ trắng (view đã gắn text-white) */
#pricing .pricing-card-popular .btn,
#pricing .pricing-card-popular .btn-primary {
    --bs-btn-bg: #0FA6BF;
    --bs-btn-border-color: #0FA6BF;
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-hover-color: var(--hp-ink);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-color: var(--hp-ink);
    background: linear-gradient(180deg, #19B9D2, #0891A8) !important;
    border-color: transparent !important;
    color: #fff;
    box-shadow: 0 14px 28px -14px rgba(34, 193, 218, .9);
}

    #pricing .pricing-card-popular .btn:hover,
    #pricing .pricing-card-popular .btn-primary:hover {
        background: #fff !important;
        color: var(--hp-ink) !important;
        transform: translateY(-1px);
    }

/* Nút các gói thường: viền rõ, hover đổi nền tối */
#pricing .card.pricing-card:not(.pricing-card-popular) .btn-outline-primary {
    border-color: rgba(7, 26, 47, .25);
    color: var(--hp-ink);
}

    #pricing .card.pricing-card:not(.pricing-card-popular) .btn-outline-primary:hover {
        background: var(--hp-ink);
        border-color: var(--hp-ink);
        color: #fff;
    }


/* ---------- Bảng giá: nổi lên nhẹ nhàng khi rê chuột vào gói ---------- */
#pricing .card.pricing-card {
    position: relative;
    transition: transform .7s cubic-bezier(.22, 1, .36, 1), border-color .5s ease, box-shadow .7s cubic-bezier(.22, 1, .36, 1);
}

    /* Mở rộng vùng hover xuống dưới/lên trên để thẻ nhấc lên không làm con trỏ "rơi" khỏi thẻ gây giật */
    #pricing .card.pricing-card::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -8px;
        bottom: -16px;
        z-index: -1;
    }

@media (hover: hover) {
    #pricing .card.pricing-card:hover {
        transform: translateY(-6px);
        border-color: rgba(8, 145, 168, .4);
        box-shadow: 0 34px 60px -38px rgba(7, 26, 47, .45);
    }

    #pricing .pricing-card-popular:hover {
        border-color: rgba(63, 208, 230, .7);
        box-shadow: 0 0 0 4px rgba(8, 145, 168, .16), 0 44px 80px -40px rgba(8, 145, 168, .7);
    }
}

/* ---------- Nút bảng giá: vệt sáng mờ quét chậm ---------- */
#pricing .pricing-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s ease, background .4s ease, color .4s ease, border-color .4s ease;
}

    #pricing .pricing-button::before {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        bottom: 0;
        left: -50%;
        width: 40%;
        background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
        transform: skewX(-20deg);
        transition: left 1.1s ease;
        pointer-events: none;
    }

    #pricing .pricing-button:hover:not(:disabled)::before {
        left: 120%;
    }

    #pricing .pricing-button:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px -14px rgba(8, 145, 168, .6);
    }

    #pricing .pricing-button:active:not(:disabled) {
        transform: translateY(0);
    }

#pricing .pricing-card-popular .pricing-button:hover:not(:disabled) {
    box-shadow: 0 12px 26px -14px rgba(63, 208, 230, .7);
}

@media (prefers-reduced-motion: reduce) {
    #pricing .card.pricing-card,
    #pricing .pricing-button,
    #pricing .pricing-button::before {
        transition: none;
    }
}


/* =========================================================
   TRANG /Pricing — mẫu bảng giá riêng (section.pricing-section)
   Thẻ nằm ngang hàng, chỉ nổi lên nhẹ khi rê chuột
   ========================================================= */

#pricing.pricing-section {
    --c-primary: #0891A8;
    --c-primary-deep: #066476;
    --c-primary-rgb: 8, 145, 168;
    --c-ink: #071A2F;
    background: linear-gradient(180deg, #F4F8F8 0%, #ECF6F6 50%, #F4F8F8 100%);
    padding: 50px;
    position: relative;
    overflow: hidden;
}

#pricing .pricing-lead {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 12px;
    background: #fff;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-primary-deep);
    box-shadow: 0 2px 10px rgba(7, 26, 47, 0.06);
    margin-bottom: 1.15rem;
}

#pricing .lead-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(var(--c-primary-rgb), 0.2);
    animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(var(--c-primary-rgb), 0.2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(var(--c-primary-rgb), 0.08);
    }
}

#pricing .pricing-title {
    font-size: clamp(1.75rem, 3.8vw, 2.5rem);
    font-weight: 800;
    color: var(--c-ink);
    letter-spacing: -0.03em;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

#pricing .pricing-subtitle {
    font-size: 1.05rem;
    color: #5B6E86;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ---- Thẻ gói: nằm ngang hàng, chỉ nổi lên nhẹ khi rê chuột ---- */
#pricing .pricing-card {
    height: 100%;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #DCE6E6;
    box-shadow: 0 4px 20px rgba(7, 26, 47, 0.04);
    transition: transform .7s cubic-bezier(.22, 1, .36, 1), box-shadow .7s cubic-bezier(.22, 1, .36, 1), border-color .5s ease;
    position: relative;
    overflow: hidden;
}

@media (hover: hover) {
    #pricing .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 54px -30px rgba(7, 26, 47, 0.28);
        border-color: rgba(var(--c-primary-rgb), 0.4);
    }
}

/* Gói phổ biến: viền + quầng teal luôn hiện, không phóng to hay nâng sẵn */
#pricing .pricing-card--popular {
    border: 1.5px solid var(--c-primary);
    box-shadow: 0 0 0 4px rgba(var(--c-primary-rgb), 0.1), 0 24px 48px -28px rgba(var(--c-primary-rgb), 0.5);
    background: linear-gradient(180deg, rgba(var(--c-primary-rgb), 0.06), #fff 160px);
}

@media (hover: hover) {
    #pricing .pricing-card--popular:hover {
        box-shadow: 0 0 0 4px rgba(var(--c-primary-rgb), 0.16), 0 36px 64px -30px rgba(var(--c-primary-rgb), 0.6);
    }
}

#pricing .popular-pill {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--c-primary-deep), #22C1DA);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(var(--c-primary-rgb), 0.35);
    z-index: 3;
}

#pricing .card-body-inner {
    padding: 1.85rem 1.65rem 1.65rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 992px) {
    #pricing .card-body-inner {
        padding: 2rem 1.85rem 1.85rem;
    }
}

#pricing .plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-ink);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

#pricing .plan-desc {
    font-size: 0.875rem;
    color: #6B7E94;
    line-height: 1.5;
    margin-bottom: 0;
    min-height: 2.7em;
}

#pricing .plan-price {
    margin: 1.4rem 0 1.5rem;
}

#pricing .price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1px;
}

#pricing .price-num {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--c-ink);
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

#pricing .price-unit {
    font-size: 1.05rem;
    font-weight: 600;
    color: #5B6E86;
    margin-left: 1px;
}

#pricing .price-cycle {
    font-size: 0.9rem;
    font-weight: 500;
    color: #8496AB;
    margin-left: 3px;
}

#pricing .price-text {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--c-ink);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

#pricing .limit-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.7rem;
    padding: 5px 12px;
    background: rgba(var(--c-primary-rgb), 0.09);
    color: var(--c-primary-deep);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 999px;
}

#pricing .plan-action {
    margin-bottom: 1.5rem;
}

/* ---- Nút: nhẹ nhàng, vệt sáng quét chậm ---- */
#pricing .btn-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.925rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s ease, background .4s ease, border-color .4s ease, color .4s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

    #pricing .btn-plan.btn-outline-primary,
    #pricing .btn-plan.btn-link {
        background: #fff;
        color: var(--c-ink);
        border: 1.5px solid rgba(7, 26, 47, 0.2);
    }

        #pricing .btn-plan.btn-outline-primary:hover,
        #pricing .btn-plan.btn-link:hover {
            background: var(--c-ink);
            border-color: var(--c-ink);
            color: #fff;
            transform: translateY(-1px);
            box-shadow: 0 12px 24px -14px rgba(7, 26, 47, 0.55);
        }

    #pricing .btn-plan.btn-primary {
        background: linear-gradient(180deg, #19B9D2, var(--c-primary));
        color: #fff;
        box-shadow: 0 10px 22px -12px rgba(var(--c-primary-rgb), 0.7);
    }

        #pricing .btn-plan.btn-primary:hover {
            background: linear-gradient(180deg, #22C1DA, var(--c-primary-deep));
            transform: translateY(-1px);
            box-shadow: 0 14px 26px -14px rgba(var(--c-primary-rgb), 0.8);
        }

    #pricing .btn-plan:active:not(:disabled) {
        transform: translateY(0);
    }

    #pricing .btn-plan:disabled,
    #pricing .btn-plan.pricing-button-current:disabled {
        background: #F1F5F5 !important;
        color: #8496AB !important;
        border: 1.5px solid #DCE6E6 !important;
        box-shadow: none !important;
        cursor: default;
        transform: none !important;
        opacity: 1;
    }

    #pricing .btn-plan:not(:disabled)::after {
        content: "";
        position: absolute;
        z-index: -1;
        top: 0;
        bottom: 0;
        left: -50%;
        width: 40%;
        background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transform: skewX(-20deg);
        transition: left 1.1s ease;
        pointer-events: none;
    }

    #pricing .btn-plan.btn-primary:not(:disabled)::after {
        z-index: 0;
    }

    #pricing .btn-plan:not(:disabled):hover::after {
        left: 120%;
    }

#pricing .feature-list {
    list-style: none;
    padding: 1.35rem 0 0;
    margin: 0;
    border-top: 1px solid #EDF2F2;
    flex-grow: 1;
}

    #pricing .feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 11px;
        margin-bottom: 0.85rem;
        font-size: 0.9rem;
        color: #2C3F56;
        line-height: 1.45;
    }

        #pricing .feature-list li:last-child {
            margin-bottom: 0;
        }

#pricing .check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

#pricing .empty-box {
    max-width: 460px;
    margin: 0 auto;
    padding: 3.25rem 2.25rem;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #DCE6E6;
    box-shadow: 0 4px 20px rgba(7, 26, 47, 0.04);
    text-align: center;
}

#pricing .empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.35rem;
    border-radius: 50%;
    background: rgba(var(--c-primary-rgb), 0.1);
    color: var(--c-primary-deep);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#pricing .empty-box h4 {
    font-weight: 700;
    color: var(--c-ink);
    margin-bottom: 0.45rem;
}

#pricing .empty-box p {
    color: #5B6E86;
    font-size: 0.95rem;
    margin-bottom: 1.6rem;
    line-height: 1.6;
}

/* Hiện dần khi vào trang */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#pricing .anim-fade-up {
    opacity: 0;
    animation: fadeUp .8s cubic-bezier(.22, 1, .36, 1) forwards;
}

#pricing .delay-1 {
    animation-delay: 0.1s;
}

#pricing .delay-2 {
    animation-delay: 0.2s;
}

#pricing .delay-3 {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 991.98px) {
    #pricing.pricing-section {
        padding: 1.5rem 0 4.5rem;
    }

    #pricing .price-num {
        font-size: 2.1rem;
    }
}

@media (max-width: 575.98px) {
    #pricing .card-body-inner {
        padding: 1.6rem 1.4rem;
    }

    #pricing .popular-pill {
        top: 14px;
        right: 14px;
        font-size: 0.68rem;
        padding: 4px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #pricing .anim-fade-up,
    #pricing .lead-dot {
        animation: none !important;
        opacity: 1 !important;
    }

    #pricing .pricing-card,
    #pricing .btn-plan,
    #pricing .btn-plan::after {
        transition: none !important;
    }
}

/* Không chạy hiệu ứng mô phỏng ngoài màn hình hoặc khi ẩn tab. */
.hp-simulation-paused *,
.hp-simulation-paused *::before,
.hp-simulation-paused *::after {
    animation-play-state: paused !important;
}


/* Nút về đầu trang với vòng hiển thị tiến độ cuộn. */
.hp-scroll-top { position:fixed; right:28px; bottom:28px; z-index:1035; width:52px; height:52px; display:grid; place-items:center; border:0; border-radius:50%; background:#fff; color:#0891a8; padding:0; box-shadow:0 6px 24px rgba(7,26,47,.14); cursor:pointer; transition:transform .2s ease,box-shadow .2s ease; }
.hp-scroll-top[hidden] { display:none; }
.hp-scroll-progress { position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); fill:none; stroke-width:1.8; }
.hp-scroll-track { stroke:#dce7f2; }
.hp-scroll-value { stroke:#0891a8; stroke-linecap:round; }
.hp-scroll-arrow { position:relative; transition:transform .2s ease; }
.hp-scroll-top:hover { transform:translateY(-3px); box-shadow:0 10px 30px rgba(8,145,168,.22); }
.hp-scroll-top:hover .hp-scroll-arrow { transform:translateY(-2px); }
.hp-scroll-top:focus-visible { outline:3px solid #55c4d8; outline-offset:4px; }
@media(max-width:575.98px) { .hp-scroll-top { right:16px; bottom:calc(16px + env(safe-area-inset-bottom)); width:46px; height:46px; } }
@media(prefers-reduced-motion:reduce) { .hp-scroll-top,.hp-scroll-arrow { transition:none; } }
