/* Trang giới thiệu CTV (ModuleAffiliate account/index.phtml) */

/* Trang giới thiệu CTV: header + hero */
.ctv-lp {
    --ctv-ink: #12132A;
    --ctv-text: #5C5D77;
    --ctv-text-2: #3E3F5C;
    --ctv-muted: #8C8DA6;
    --ctv-purple: #5B2EE5;
    --ctv-purple-dark: #3F1CB8;
    --ctv-purple-light: #9563FF;
    --ctv-yellow: #FFD84D;
    --ctv-gutter: clamp(16px, 4vw, 32px);
    width: 100%;
    min-height: 100dvh;
    background: #FBFAFE;
    font-family: "Questrial", "Questrial Placeholder", sans-serif;
    font-weight: 400;
    color: var(--ctv-ink);
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

.ctv-lp *,
.ctv-lp *::before,
.ctv-lp *::after {
    box-sizing: border-box;
}

.ctv-lp p,
.ctv-lp span {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

/* Bỏ span { font-weight: 500 } của CSS modal dùng chung; class nào đặt độ đậm riêng vẫn thắng */
.ctv-lp :where(span) {
    font-weight: inherit;
    align-content: normal;
}

.ctv-lp a {
    text-decoration: none;
}

.ctv-lp button {
    font-family: inherit;
    cursor: pointer;
}

.ctv-lp-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--ctv-gutter);
}

/* Chữ riêng bản Desktop / Mobile của thiết kế (desc / desc_m), đổi ở ≤ 920px như các số đo Mobile */
.ctv-lp .ctv-lp-txt-m {
    display: none;
}

@media (max-width: 920px) {
    .ctv-lp .ctv-lp-txt-d {
        display: none;
    }

    .ctv-lp .ctv-lp-txt-m {
        display: inline;
    }
}

.ctv-lp-topbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 9px 20px;
    background: var(--ctv-purple-light);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

.ctv-lp-topbar-link {
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ctv-lp-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 250, 254, .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(18, 19, 42, .07);
}

/* Width giống header trang chủ 1Page (.framer-sf16ny + .framer-1jm932q):
   nội dung tối đa 1280px; padding ngang 80px (>=1440) / 40px (810–1439) / 20px (<810) */
.ctv-lp-header .ctv-lp-container {
    display: flex;
    align-items: center;
    gap: clamp(8px, 2.5vw, 28px);
    max-width: 1440px;
    padding: 15px 80px;
}

@media (max-width: 1439.98px) {
    .ctv-lp-header .ctv-lp-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 809.98px) {
    .ctv-lp-header .ctv-lp-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Nút giống bản Phone trang chủ (framer-v-nt2oba: padding 10px 24px), chữ vẫn 16px */
    .ctv-lp-header-btn {
        gap: 4px;
        padding: 10px 24px;
    }
}

/* Điện thoại hẹp: ẩn mũi tên + thu padding để logo + 2 nút 16px vẫn vừa 1 dòng */
@media (max-width: 419.98px) {
    .ctv-lp-header-btn {
        padding: 10px 18px;
    }

    .ctv-lp-header-btn-icon {
        display: none;
    }
}

.ctv-lp-brand {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ctv-ink);
}

.ctv-lp-header-link {
    flex: none;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--ctv-ink);
    /* Giống menu trang chủ 1Page (framer-styles-preset-srspiy) */
    font-family: "Questrial", "Questrial Placeholder", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
}

/* Font giống header trang chủ 1Page. Cần .ctv-lp-header phía trước để thắng
   `.ctv-lp button { font-family: inherit }` */
.ctv-lp-header .ctv-lp-header-link,
.ctv-lp-header .ctv-lp-header-btn {
    font-family: "Questrial", "Questrial Placeholder", sans-serif;
}

.ctv-lp-header-link:hover {
    color: var(--ctv-purple-dark);
}

/* Logo + nút giống header trang chủ 1Page */
.ctv-lp-brand-logo {
    display: block;
    width: 148px;
    height: auto;
    aspect-ratio: 7325 / 2081;
    object-fit: contain;
}

.ctv-lp-header-btn {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding: 12px 32px;
    /* Trang chủ vẽ viền bằng ::after đè lên trong nút (không cộng kích thước) → nút cao đúng 48px */
    border: none;
    border-radius: 100px;
    background: linear-gradient(178.8deg, rgb(1, 1, 1) 0%, rgb(63, 63, 63) 100%);
    box-shadow: inset 0 17.5px 35px 0 rgba(255, 255, 255, .08), inset 0 -4px 6px 0 rgba(255, 255, 255, .03);
    color: #fff;
    font-family: "Questrial", "Questrial Placeholder", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
}

.ctv-lp-header-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    border: .8px solid rgba(255, 255, 255, .08);
    border-radius: inherit;
    pointer-events: none;
}

.ctv-lp-header-btn-icon {
    position: relative;
    flex: none;
    width: 18px;
    height: 18px;
    overflow: hidden;
}

.ctv-lp-header-btn-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
}

/* Hover: mũi tên cũ bay ra góc trên-phải, mũi tên mới bay vào từ góc dưới-trái */
.ctv-lp-header-btn-icon .is-next {
    transform: translate(-21px, 21px);
}

.ctv-lp-header-btn:hover .ctv-lp-header-btn-icon .is-current {
    animation: ctvLpArrowOut .3s cubic-bezier(.25, .8, .3, 1) both;
}

.ctv-lp-header-btn:hover .ctv-lp-header-btn-icon .is-next {
    animation: ctvLpArrowIn .3s cubic-bezier(.25, .8, .3, 1) both;
}

@keyframes ctvLpArrowOut {
    from { transform: translate(0, 0); }
    to { transform: translate(21px, -21px); }
}

@keyframes ctvLpArrowIn {
    from { transform: translate(-21px, 21px); }
    to { transform: translate(0, 0); }
}

/* ---- Thanh tím + header: desktop như cũ (bọc trong suốt), mobile/tablet ghim fixed ---- */
.ctv-lp-top {
    display: contents;
}

.ctv-lp-top-spacer {
    display: none;
}

@media (max-width: 920px) {
    /* Giống header trang chủ 1Page (.framer-ghop4z-container: fixed top 0); sticky bị rung khi cuộn trên mobile */
    .ctv-lp-top {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 20;
    }

    .ctv-lp-top .ctv-lp-header {
        position: relative;
    }

    /* Giữ chỗ cho khối ghim; JS đo chiều cao thật vào --ctv-top-h */
    .ctv-lp-top-spacer {
        display: block;
        height: var(--ctv-top-h, 96px);
    }

    /* Bấm link tới mục: chừa đúng chiều cao khối ghim */
    .ctv-lp .ctv-lp-sec,
    .ctv-lp .ctv-lp-box {
        scroll-margin-top: calc(var(--ctv-top-h, 96px) + 16px);
    }
}

/* ---- Menu hamburger tablet + mobile (giống header Phone trang chủ 1Page) ---- */
.ctv-lp-menu-btn,
.ctv-lp-menu {
    display: none;
}

@media (max-width: 920px) {
    .ctv-lp-header .ctv-lp-container > .ctv-lp-header-link,
    .ctv-lp-header .ctv-lp-container > .ctv-lp-header-btn {
        display: none;
    }

    /* Icon 42px, 2 thanh 20x3px ở 38% / 62% như .framer-ud5ovx trang chủ */
    .ctv-lp-header .ctv-lp-menu-btn {
        display: block;
        flex: none;
        position: relative;
        width: 42px;
        height: 42px;
        padding: 0;
        border: none;
        background: transparent;
    }

    /* 2 thanh cùng nằm đúng tâm ô 42px (pixel nguyên, tránh lẻ 0.5px làm X lệch), tách ±5px thành hamburger */
    .ctv-lp-menu-bar {
        position: absolute;
        top: 19px;
        left: 11px;
        width: 20px;
        height: 3px;
        border-radius: 10px;
        background: #000;
        transform-origin: 50% 50%;
        transition: transform .45s cubic-bezier(.16, .7, .25, 1);
    }

    .ctv-lp-menu-bar.is-top {
        transform: translateY(-5px) rotate(0deg);
    }

    .ctv-lp-menu-bar.is-bottom {
        transform: translateY(5px) rotate(0deg);
    }

    /* Mở: 2 thanh chụm về tâm, xoay thành X */
    .ctv-lp-menu-btn.is-open .ctv-lp-menu-bar.is-top {
        transform: translateY(0) rotate(45deg);
    }

    .ctv-lp-menu-btn.is-open .ctv-lp-menu-bar.is-bottom {
        transform: translateY(0) rotate(-45deg);
    }

    /* Mobile/tablet: bỏ blur, nền đặc màu trang — blur trên header sticky làm header rung/giật khi cuộn */
    .ctv-lp-header {
        background: #FBFAFE;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    /* Mở menu: thanh header cùng nền với panel → liền 1 khối như "Home Open (Phone)" trang chủ */
    .ctv-lp-header.is-menu-open {
        background: rgb(246, 247, 249);
        border-bottom-color: transparent;
    }

    /* Panel trượt xuống ngay dưới thanh header */
    .ctv-lp-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgb(246, 247, 249);
        box-shadow: 0 16px 24px rgba(18, 19, 42, .06);
        visibility: hidden;
        -webkit-clip-path: inset(0 0 100% 0);
        clip-path: inset(0 0 100% 0);
        transition:
            -webkit-clip-path .5s cubic-bezier(.16, .7, .25, 1),
            clip-path .5s cubic-bezier(.16, .7, .25, 1),
            visibility 0s linear .52s;
    }

    .ctv-lp-menu.is-open {
        visibility: visible;
        -webkit-clip-path: inset(0 0 0 0);
        clip-path: inset(0 0 0 0);
        transition:
            -webkit-clip-path .4s cubic-bezier(.25, .8, .3, 1),
            clip-path .4s cubic-bezier(.25, .8, .3, 1),
            visibility 0s linear 0s;
    }

    /* Bố cục "Home Open (Phone)": cột căn giữa, link cách nút 40px */
    .ctv-lp-menu-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 24px 20px 32px;
    }

    /* Link: gap 12px, căn giữa, mục đầu chữ đen, các mục sau chữ xám (như .framer-1a25cx1) */
    .ctv-lp-menu-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        text-align: center;
    }

    .ctv-lp-header .ctv-lp-menu-nav-link {
        color: rgb(94, 95, 92);
        font-family: "Questrial", "Questrial Placeholder", sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5;
        text-decoration: none;
    }

    .ctv-lp-header .ctv-lp-menu-nav-link:first-child,
    .ctv-lp-header .ctv-lp-menu-nav-link:hover {
        color: #000;
    }

    /* 2 nút xếp dọc: Đăng ký CTV trên, Đăng nhập dưới */
    .ctv-lp-menu-cta {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* Đăng ký CTV: chữ không viền, cùng cỡ nút Đăng nhập */
    .ctv-lp-header .ctv-lp-menu-link {
        padding: 10px 24px;
        border: none;
        border-radius: 100px;
        background: transparent;
        color: #000;
        font-family: "Questrial", "Questrial Placeholder", sans-serif;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5;
        white-space: nowrap;
    }

    .ctv-lp-header .ctv-lp-menu-link:hover {
        color: var(--ctv-purple-dark);
    }

    /* Nút Đăng nhập trong menu: đúng nút Phone trang chủ (framer-v-nt2oba: nền đen, viền 1px xám) */
    .ctv-lp-menu .ctv-lp-header-btn {
        padding: 10px 24px;
        gap: 4px;
        background: #000;
    }

    .ctv-lp-menu .ctv-lp-header-btn::after {
        border: 1px solid rgb(113, 120, 123);
    }

    /* Menu đủ chỗ: luôn hiện mũi tên (màn < 420px đang ẩn cho nút trên thanh header) */
    .ctv-lp-menu .ctv-lp-header-btn-icon {
        display: block;
    }

    /* Mục hiện so le khi mở, đóng thì rút đồng loạt */
    .ctv-lp-menu-nav-link,
    .ctv-lp-menu-cta {
        opacity: 0;
        transform: translateY(-14px);
        transition: opacity .3s ease, transform .35s cubic-bezier(.25, .8, .3, 1);
    }

    .ctv-lp-menu.is-open .ctv-lp-menu-nav-link,
    .ctv-lp-menu.is-open .ctv-lp-menu-cta {
        opacity: 1;
        transform: translateY(0);
    }

    .ctv-lp-menu.is-open .ctv-lp-menu-nav-link:nth-child(1) { transition-delay: .05s; }
    .ctv-lp-menu.is-open .ctv-lp-menu-nav-link:nth-child(2) { transition-delay: .1s; }
    .ctv-lp-menu.is-open .ctv-lp-menu-nav-link:nth-child(3) { transition-delay: .15s; }
    .ctv-lp-menu.is-open .ctv-lp-menu-nav-link:nth-child(4) { transition-delay: .2s; }
    .ctv-lp-menu.is-open .ctv-lp-menu-cta { transition-delay: .25s; }
}

@media (max-width: 920px) and (prefers-reduced-motion: reduce) {
    .ctv-lp-header,
    .ctv-lp-menu,
    .ctv-lp-menu.is-open,
    .ctv-lp-menu-bar,
    .ctv-lp-menu-nav-link,
    .ctv-lp-menu-cta {
        transition: none;
    }
}

@font-face {
    font-family: "Questrial";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/1page-ai/QdVUSTchPBm7nuUeVf70sSFlq20.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
    font-family: "Questrial";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/1page-ai/QdVUSTchPBm7nuUeVf70sCFlq20.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Questrial";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/1page-ai/QdVUSTchPBm7nuUeVf70viFl.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.ctv-lp-hero {
    position: relative;
}

/* Nền chấm mờ dần xuống dưới */
.ctv-lp-hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(91, 46, 229, .14) 1.2px, transparent 1.4px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 95%);
    mask-image: linear-gradient(180deg, #000 35%, transparent 95%);
    pointer-events: none;
}

.ctv-lp-hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    align-items: center;
    gap: clamp(28px, 5vw, 56px);
    padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 48px);
}

.ctv-lp-hero-text {
    display: flex;
    flex-direction: column;
    gap: 22px;
    min-width: 0;
}

.ctv-lp-badge {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 14px 0 6px;
    border: 1.5px solid var(--ctv-ink);
    border-radius: 99px;
    background: #fff;
    font-size: 13px !important;
    font-weight: 500;
    transform: rotate(-2deg);
}

.ctv-lp-badge-icon {
    width: 22px;
    height: 22px;
    border-radius: 99px;
    background: var(--ctv-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px !important;
    font-weight: 600;
}

.ctv-lp-title {
    margin: 0;
    font-size: clamp(34px, 5.6vw, 66px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: balance;
}

.ctv-lp-mark {
    background: linear-gradient(transparent 60%, var(--ctv-yellow) 60%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.ctv-lp-lead {
    max-width: 540px;
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: var(--ctv-text);
    text-wrap: pretty;
}

.ctv-lp-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ctv-lp-btn {
    height: 56px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease;
}

/* Nút gradient giống nút "Tạo website miễn phí ngay" trang chủ (.framer-6DWt2.framer-74ohyx).
   `.ctv-lp` phía trước để thắng `.ctv-lp button { font-family: inherit }` */
.ctv-lp .ctv-lp-btn-gradient {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    border: none;
    border-radius: 107px;
    background: linear-gradient(90deg, rgb(102, 60, 246) 19.71%, rgb(255, 141, 164) 59.62%, rgb(255, 155, 93) 83.17%, rgb(255, 233, 153) 100%);
    color: #fff;
    font-family: "Questrial", "Questrial Placeholder", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
}

.ctv-lp .ctv-lp-btn-gradient:hover {
    color: #fff;
}

/* Nút CTA cuối trang: chỉ đổi kiểu chữ + mũi tên như nút gradient, còn lại giữ nguyên .ctv-lp-btn-white */
.ctv-lp .ctv-lp-btn-white.is-gradient,
.ctv-lp .ctv-lp-btn-white.is-gradient:hover {
    /* Chữ + mũi tên (stroke="currentColor") màu đen */
    color: #000;
}

.ctv-lp .ctv-lp-btn-white.is-gradient {
    font-family: "Questrial", "Questrial Placeholder", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.ctv-lp-btn-gradient-icon {
    position: relative;
    flex: none;
    width: 18px;
    height: 18px;
    overflow: hidden;
}

.ctv-lp-btn-gradient-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
}

/* Hover: mũi tên cũ bay ra góc trên-phải, mũi tên mới bay vào từ góc dưới-trái (lệch 18px như trang chủ) */
.ctv-lp-btn-gradient-icon .is-next {
    transform: translate(-18px, 18px);
}

.ctv-lp-btn-gradient:hover .ctv-lp-btn-gradient-icon .is-current,
.ctv-lp-btn-white.is-gradient:hover .ctv-lp-btn-gradient-icon .is-current {
    animation: ctvLpGradArrowOut .3s cubic-bezier(.25, .8, .3, 1) both;
}

.ctv-lp-btn-gradient:hover .ctv-lp-btn-gradient-icon .is-next,
.ctv-lp-btn-white.is-gradient:hover .ctv-lp-btn-gradient-icon .is-next {
    animation: ctvLpGradArrowIn .3s cubic-bezier(.25, .8, .3, 1) both;
}

@keyframes ctvLpGradArrowOut {
    from { transform: translate(0, 0); }
    to { transform: translate(18px, -18px); }
}

@keyframes ctvLpGradArrowIn {
    from { transform: translate(-18px, 18px); }
    to { transform: translate(0, 0); }
}

/* ≤ 920px theo bản Mobile của thiết kế: 2 nút hero cao 52px, padding ngang 22px (bằng .ctv-lp-btn-line) */
@media (max-width: 920px) {
    .ctv-lp .ctv-lp-btn-gradient {
        height: 52px;
        padding: 0 22px;
    }
}

/* Nút viền đen giống "Trải Nghiệm Miễn Phí" / "Đăng Ký Ngay" trang chủ
   (.framer-KySXs.framer-1tfg065, variant "Dark (Only Text)" framer-v-1b0qu9w).
   Hover: nền đen, chữ cũ bay lên, chữ trắng trượt vào từ dưới. */
.ctv-lp .ctv-lp-btn-line {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Giữ kích thước như nút cũ (.ctv-lp-btn: 56px, ≤920px: 52px) */
    height: 56px;
    padding: 0 24px;
    border-radius: 100px;
    background-color: transparent;
    color: #000;
    /* Chữ giống nút gradient bên cạnh (.ctv-lp-btn-gradient) để 2 nút cùng cỡ chữ */
    font-family: "Questrial", "Questrial Placeholder", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    transition: background-color .3s ease;
}

/* Viền 1px vẽ bằng ::after đè lên trong (như data-border của Framer) → không cộng kích thước */
.ctv-lp .ctv-lp-btn-line::after {
    content: "";
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    border: 1px solid #000;
    border-radius: inherit;
    pointer-events: none;
}

.ctv-lp .ctv-lp-btn-line-label {
    display: block;
    transition: transform .3s cubic-bezier(.25, .8, .3, 1), opacity .3s ease;
}

/* Label 2, chờ sẵn bên dưới nút */
.ctv-lp .ctv-lp-btn-line-label.is-hover {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(calc(-50% + 26px));
}

.ctv-lp .ctv-lp-btn-line:hover {
    background-color: #000;
}

.ctv-lp .ctv-lp-btn-line:hover .ctv-lp-btn-line-label:not(.is-hover) {
    transform: translateY(-40px);
}

.ctv-lp .ctv-lp-btn-line:hover .ctv-lp-btn-line-label.is-hover {
    opacity: 1;
    transform: translateY(-50%);
}

@media (max-width: 920px) {
    .ctv-lp .ctv-lp-btn-line {
        height: 52px;
        padding: 0 22px;
    }
}

/* Bản Phone trang chủ (framer-v-1prrmn6 "dark varient/mobile"): nền gradient đen, chữ trắng, bóng đổ, không viền */
@media (max-width: 809.98px) {
    .ctv-lp .ctv-lp-btn-line {
        background: linear-gradient(125deg, #fff -172%, #000 74%);
        color: #fff;
        box-shadow: 0 4px 16px 0 rgba(0, 0, 0, .25);
    }

    .ctv-lp .ctv-lp-btn-line::after {
        border: none;
    }
}
.ctv-lp-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.ctv-lp-avatars {
    display: flex;
    padding-left: 12px;
}

.ctv-lp-avatar {
    flex: none;
    width: 44px;
    height: 44px;
    margin-left: -12px;
    border: 3px solid #FBFAFE;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px !important;
    font-weight: 600;
}

.ctv-lp-avatar.is-purple { background: #EBE5FF; color: #5B2EE5; }
.ctv-lp-avatar.is-orange { background: #FFE9D6; color: #D9701F; }
.ctv-lp-avatar.is-green { background: #E7FAF2; color: #00A37A; }
.ctv-lp-avatar.is-dark { background: #12132A; color: #fff; }

.ctv-lp-proof-text {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    color: var(--ctv-text-2);
}

.ctv-lp-proof-text strong {
    color: var(--ctv-ink);
    font-weight: 600;
}

/* Cụm điện thoại + nhãn bên phải */
.ctv-lp-visual {
    position: relative;
    height: clamp(500px, 50vw, 580px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.ctv-lp-visual-back {
    position: absolute;
    border-radius: 44px;
}

.ctv-lp-visual-back.is-lavender {
    inset: 7% 10%;
    background: #EBE5FF;
    transform: rotate(-4deg);
}

.ctv-lp-visual-back.is-peach {
    inset: 12% 14%;
    background: #FFE9D6;
    transform: rotate(5deg);
}

.ctv-lp-phone {
    position: relative;
    z-index: 2;
    width: clamp(230px, 23vw, 264px);
    height: clamp(470px, 47vw, 540px);
    padding: 10px;
    border-radius: 42px;
    background: var(--ctv-ink);
    box-shadow: 0 30px 70px rgba(18, 19, 42, .28);
}

.ctv-lp-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 33px;
    overflow: hidden;
    background: #F4F3FA;
}

.ctv-lp-phone-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.ctv-lp-phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    z-index: 3;
    width: 78px;
    height: 20px;
    border-radius: 99px;
    background: var(--ctv-ink);
    transform: translateX(-50%);
    pointer-events: none;
}

/* 3 thông báo hoa hồng hiện lần lượt, mỗi cái lệch 3s trong vòng 9s */
.ctv-lp-toast {
    position: absolute;
    z-index: 5;
    width: min(240px, 74%);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border: 1px solid rgba(18, 19, 42, .06);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(18, 19, 42, .16);
    pointer-events: none;
    animation: ctvLpToast 9s infinite both;
}

.ctv-lp-toast.is-1 { top: 13%; left: 0; animation-delay: 0s; }
.ctv-lp-toast.is-2 { top: 45%; right: 0; animation-delay: 3s; }
.ctv-lp-toast.is-3 { bottom: 16%; left: 2%; animation-delay: 6s; }

.ctv-lp-toast-icon {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctv-lp-toast.is-1 .ctv-lp-toast-icon { background: #E7FAF2; color: #00A37A; }
.ctv-lp-toast.is-2 .ctv-lp-toast-icon { background: #FFF1E3; color: #D9701F; }
.ctv-lp-toast.is-3 .ctv-lp-toast-icon { background: #EBE5FF; color: #5B2EE5; }

.ctv-lp-toast-body {
    min-width: 0;
}

.ctv-lp-toast-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    color: var(--ctv-ink);
    white-space: nowrap;
}

.ctv-lp-toast-desc {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    color: var(--ctv-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes ctvLpToast {
    0% { opacity: 0; transform: translateY(18px) scale(.96); }
    6% { opacity: 1; transform: none; }
    30% { opacity: 1; transform: none; }
    37% { opacity: 0; transform: translateY(-14px); }
    100% { opacity: 0; transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
    .ctv-lp-toast {
        animation: none;
        opacity: 1;
    }

    .ctv-lp-toast.is-2,
    .ctv-lp-toast.is-3 {
        display: none;
    }
}

.ctv-lp-sticker-rate {
    position: absolute;
    top: 3%;
    right: 3%;
    z-index: 4;
    padding: 11px 16px;
    border-radius: 16px;
    background: var(--ctv-yellow);
    color: var(--ctv-ink);
    box-shadow: 0 6px 0 rgba(18, 19, 42, .14);
    line-height: 1.15;
    transform: rotate(8deg);
    pointer-events: none;
}

.ctv-lp-sticker-rate-big {
    font-size: 19px !important;
    line-height: 1.15 !important;
    font-weight: 600;
    letter-spacing: -.02em;
}

.ctv-lp-sticker-rate-small {
    font-size: 11.5px !important;
    line-height: 1.15 !important;
    font-weight: 500;
}

.ctv-lp-sticker-free {
    position: absolute;
    bottom: 5%;
    right: 4%;
    z-index: 4;
    padding: 10px 16px;
    border-radius: 99px;
    background: var(--ctv-ink);
    color: #fff;
    font-size: 13.5px !important;
    font-weight: 600;
    white-space: nowrap;
    transform: rotate(-7deg);
    pointer-events: none;
}

/* Tablet + mobile: khung điện thoại rộng như bản Mobile (~330px) để 2 tấm nền + toast ôm sát điện thoại */
@media (max-width: 920px) {
    .ctv-lp-visual {
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
}

/* Tablet + mobile theo bản thiết kế Mobile */
@media (max-width: 920px) {
    .ctv-lp-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Chữ + nút chảy liền 1 dòng, lỡ xuống dòng thì sát nhau (không cộng gap flex) */
    .ctv-lp-topbar {
        display: block;
        padding: 8px 14px;
        font-size: 12px;
        line-height: 1.5;
    }

    .ctv-lp-topbar-link {
        margin-left: 4px;
        vertical-align: baseline;
    }

    .ctv-lp-topbar-link {
        font-size: 12px;
    }

    .ctv-lp-topbar-extra {
        display: none;
    }

    .ctv-lp-header .ctv-lp-container {
        gap: 10px;
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .ctv-lp-brand-logo {
        width: 107px;
    }

    .ctv-lp-hero .ctv-lp-container {
        padding: 0 18px;
    }

    .ctv-lp-hero-dots {
        background-size: 20px 20px;
    }

    .ctv-lp-hero-grid {
        gap: 18px;
        padding: 28px 0 8px;
    }

    .ctv-lp-hero-text {
        gap: 18px;
    }

    .ctv-lp-badge {
        height: 32px;
        padding: 0 13px 0 5px;
        font-size: 12.5px !important;
    }

    .ctv-lp-title {
        font-size: 35px;
        line-height: 1.08;
        letter-spacing: 0;
    }

    .ctv-lp-lead {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    .ctv-lp-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .ctv-lp-btn {
        height: 52px;
        padding: 0 22px;
        font-size: 15.5px;
    }

    .ctv-lp-proof {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .ctv-lp-avatars {
        padding-left: 11px;
    }

    .ctv-lp-avatar {
        width: 40px;
        height: 40px;
        margin-left: -11px;
        font-size: 12px !important;
    }

    .ctv-lp-proof-text {
        font-size: 13px !important;
    }

    .ctv-lp-proof-text br {
        display: none;
    }

    .ctv-lp-visual {
        height: 470px;
        margin-top: 6px;
    }

    .ctv-lp-visual-back {
        border-radius: 40px;
    }

    .ctv-lp-visual-back.is-lavender {
        inset: 6% 9%;
    }

    .ctv-lp-visual-back.is-peach {
        inset: 11% 13%;
    }

    .ctv-lp-phone {
        width: 206px;
        height: 424px;
        padding: 8px;
        border-radius: 36px;
        box-shadow: 0 24px 56px rgba(18, 19, 42, .28);
    }

    .ctv-lp-phone-screen {
        border-radius: 29px;
    }

    .ctv-lp-phone-notch {
        top: 15px;
        width: 62px;
        height: 17px;
    }

    .ctv-lp-sticker-rate {
        top: 2%;
        right: 0;
        padding: 9px 13px;
        border-radius: 14px;
        box-shadow: 0 5px 0 rgba(18, 19, 42, .14);
    }

    .ctv-lp-sticker-rate-big {
        font-size: 16px !important;
    }

    .ctv-lp-sticker-rate-small {
        font-size: 10.5px !important;
    }

    .ctv-lp-sticker-free {
        bottom: 3%;
        right: 2%;
        padding: 8px 13px;
        font-size: 12.5px !important;
    }
}

/* Các block sau hero */
.ctv-lp-h2 {
    margin: 0;
    font-size: clamp(28px, 4.2vw, 38px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.035em;
    color: var(--ctv-ink);
}

.ctv-lp-h3 {
    margin: 0;
    font-size: clamp(24px, 3.2vw, 30px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.03em;
    color: var(--ctv-ink);
}

.ctv-lp-sub {
    margin-top: 6px;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: var(--ctv-text);
    text-wrap: pretty;
}

.ctv-lp-tag {
    position: absolute;
    z-index: 3;
    background: var(--ctv-yellow);
    color: var(--ctv-ink);
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
}

.ctv-lp-sec {
    scroll-margin-top: 80px;
}

/* Hiện dần khi cuộn tới; JS chỉ ẩn những block nằm dưới màn hình đầu */
.ctv-lp-sec.is-reveal-wait {
    opacity: 0;
    transform: translateY(28px);
}

.ctv-lp-sec.is-reveal-on {
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

/* Số liệu */
.ctv-lp-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: clamp(16px, 2.6vw, 28px);
    padding: clamp(22px, 3.5vw, 30px) clamp(20px, 3.5vw, 36px);
    border: 1px solid rgba(91, 46, 229, .12);
    border-radius: 26px;
    background: #EBE5FF;
}

.ctv-lp-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ctv-lp-stat-value {
    font-size: clamp(30px, 3.6vw, 40px) !important;
    line-height: 1.2 !important;
    font-weight: 600;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.ctv-lp-stat-label {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: var(--ctv-text);
    text-wrap: pretty;
}

/* Quyền lợi */
.ctv-lp-perks-sec {
    padding: clamp(44px, 6vw, 64px) 0 24px;
}

.ctv-lp-perks-sec .ctv-lp-h2 {
    margin-bottom: 28px;
}

.ctv-lp-perks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 16px;
}

.ctv-lp-perk {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    border: 1px solid rgba(18, 19, 42, .08);
    border-radius: 22px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ctv-lp-perk:hover {
    transform: translateY(-4px);
    border-color: rgba(91, 46, 229, .3);
    box-shadow: 0 14px 30px rgba(91, 46, 229, .12);
}

.ctv-lp-perk-icon {
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-6deg);
}

.ctv-lp-perk-icon svg {
    width: 22px;
    height: 22px;
}

.ctv-lp-perk-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.ctv-lp-perk-title {
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 500;
    letter-spacing: -.01em;
}

.ctv-lp-perk-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--ctv-text);
    text-wrap: pretty;
}

.is-tone-purple { background: #EBE5FF; color: #5B2EE5; }
.is-tone-orange { background: #FFF1E3; color: #D9701F; }
.is-tone-blue { background: #EAF3FF; color: #2F6FDB; }
.is-tone-green { background: #E7FAF2; color: #00A37A; }

/* Máy tính thu nhập */
.ctv-lp-calc-sec {
    padding: 40px 0;
}

.ctv-lp-calc-wrap {
    position: relative;
}

.ctv-lp-calc-wrap > .ctv-lp-tag {
    top: -16px;
    right: clamp(14px, 3vw, 28px);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px !important;
    box-shadow: 0 5px 0 rgba(18, 19, 42, .14);
    transform: rotate(6deg);
}

.ctv-lp-calc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    border: 1px solid rgba(18, 19, 42, .08);
    border-radius: 26px;
    background: #fff;
    overflow: hidden;
}

.ctv-lp-calc-input {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: clamp(22px, 4vw, 36px);
}

.ctv-lp-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ctv-lp-field-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.ctv-lp-field-label {
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 500;
    color: var(--ctv-text-2);
}

.ctv-lp-field-value {
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 600;
    color: var(--ctv-purple);
    font-variant-numeric: tabular-nums;
}

.ctv-lp-range {
    width: 100%;
    margin: 0;
    accent-color: var(--ctv-purple);
}

.ctv-lp-calc-tiers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.ctv-lp-calc-tier {
    height: 54px;
    border: 1px solid rgba(18, 19, 42, .12);
    border-radius: 13px;
    background: #fff;
    color: var(--ctv-text-2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.ctv-lp-calc-tier-name {
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    font-weight: 500;
    white-space: nowrap;
}

.ctv-lp-calc-tier-rate {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    font-weight: 500;
    color: var(--ctv-muted);
}

.ctv-lp-calc-tier.is-active {
    border-color: var(--ctv-purple);
    background: var(--ctv-purple);
    color: #fff;
}

.ctv-lp-calc-tier.is-active .ctv-lp-calc-tier-rate {
    color: rgba(255, 255, 255, .75);
}

.ctv-lp-calc-result {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: clamp(22px, 4vw, 36px);
    border-left: 1px solid rgba(91, 46, 229, .12);
    background: #F2EFFE;
    overflow: hidden;
}

.ctv-lp-calc-result > * {
    position: relative;
}

.ctv-lp-calc-result > .ctv-lp-calc-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(91, 46, 229, .16) 1.2px, transparent 1.4px);
    background-size: 20px 20px;
    -webkit-mask-image: linear-gradient(200deg, #000, transparent 70%);
    mask-image: linear-gradient(200deg, #000, transparent 70%);
    pointer-events: none;
}

.ctv-lp-calc-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ctv-lp-pill-green {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 7px;
    height: 28px;
    padding: 0 12px 0 9px;
    border: 1px solid rgba(0, 163, 122, .25);
    border-radius: 99px;
    background: #E7FAF2;
    color: #00805F;
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ctv-lp-pill-green-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: #00A37A;
}

.ctv-lp-calc-monthly {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.ctv-lp-calc-monthly-value {
    font-size: clamp(40px, 5vw, 62px) !important;
    line-height: 1 !important;
    font-weight: 600;
    letter-spacing: -.045em;
    color: var(--ctv-purple);
    font-variant-numeric: tabular-nums;
}

.ctv-lp-calc-monthly-unit {
    font-size: 17px !important;
    font-weight: 500;
    color: var(--ctv-text);
}

.ctv-lp-pill-yellow {
    align-self: flex-start;
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(224, 168, 0, .35);
    border-radius: 99px;
    background: #FFF7DB;
    color: #8A6400;
    font-size: 13px !important;
    font-weight: 600;
    white-space: nowrap;
}

.ctv-lp-calc-split {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(91, 46, 229, .12);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(91, 46, 229, .08);
}

.ctv-lp-calc-bar {
    display: flex;
    height: 10px;
    border-radius: 99px;
    background: #F0EEF9;
    overflow: hidden;
}

.ctv-lp-calc-bar-one {
    height: 100%;
    background: var(--ctv-yellow);
    transition: width .25s ease;
}

.ctv-lp-calc-bar-multi {
    height: 100%;
    background: #FF8A3D;
    transition: width .25s ease;
}

/* Phần thưởng doanh số theo bậc: chiếm phần còn lại của thanh */
.ctv-lp-calc-bar-bonus {
    flex: 1;
    height: 100%;
    background: #00A37A;
}

.ctv-lp-calc-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ctv-lp-calc-swatch {
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.ctv-lp-calc-row-text {
    flex: 1;
    min-width: 0;
}

.ctv-lp-calc-row-title {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    font-weight: 500;
}

.ctv-lp-calc-row-desc {
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: var(--ctv-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ctv-lp-calc-row-sum {
    flex: none;
    font-size: 14.5px !important;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ctv-lp-calc-row-sum.is-bonus {
    color: #00A37A;
}

.ctv-lp-calc-divider {
    height: 1px;
    background: rgba(18, 19, 42, .07);
}

.ctv-lp-calc-daily {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 15px;
    border-radius: 16px;
    background: var(--ctv-yellow);
    box-shadow: 0 5px 0 rgba(18, 19, 42, .16);
    transform: rotate(-1.2deg);
}

.ctv-lp-calc-daily-icon {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: var(--ctv-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctv-lp-calc-daily-text {
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: 500;
    text-wrap: pretty;
}

.ctv-lp-calc-foot {
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: var(--ctv-text);
    text-wrap: pretty;
}

/* 3 bước */
.ctv-lp-steps-sec {
    padding: 48px 0 40px;
}

.ctv-lp-steps-sec .ctv-lp-h2 {
    margin-bottom: 36px;
}

.ctv-lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 28px;
}

.ctv-lp-step {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ctv-lp-step-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ctv-lp-step-num {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px !important;
    font-weight: 600;
    box-shadow: 0 5px 0 rgba(18, 19, 42, .12);
    transform: rotate(-6deg);
    transition: transform .2s ease;
}

.ctv-lp-step-num:hover {
    transform: rotate(6deg) scale(1.08);
}

.ctv-lp-step-num.is-tone-yellow {
    background: var(--ctv-yellow);
    color: var(--ctv-ink);
}

.ctv-lp-step-line {
    flex: 1;
    height: 0;
    border-top: 2px dashed rgba(91, 46, 229, .28);
}

.ctv-lp-step:last-child .ctv-lp-step-line {
    opacity: 0;
}

.ctv-lp-step-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ctv-lp-step-title {
    font-size: 19px !important;
    line-height: 1.3 !important;
    font-weight: 500;
    letter-spacing: -.01em;
}

.ctv-lp-step-desc {
    max-width: 330px;
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    color: var(--ctv-text);
    text-wrap: pretty;
}

/* Hạng */
.ctv-lp-tiers-sec {
    padding: 56px 0 40px;
}

.ctv-lp-tiers-head {
    margin-bottom: 32px;
}

.ctv-lp-tiers-head .ctv-lp-sub {
    max-width: 620px;
    margin-top: 8px;
    font-size: 15px !important;
}

.ctv-lp-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
}

.ctv-lp-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 230px;
    padding: 24px;
    border-radius: 22px;
    background: var(--tier-bg);
    transition: transform .2s ease;
}

.ctv-lp-tier:hover {
    transform: translateY(-4px) rotate(-.6deg);
}

.ctv-lp-tier-hot {
    position: absolute;
    top: -12px;
    right: 18px;
    padding: 7px 12px;
    border-radius: 99px;
    background: var(--ctv-ink);
    color: #fff;
    font-size: 12px !important;
    font-weight: 600;
    white-space: nowrap;
    transform: rotate(6deg);
}

.ctv-lp-tier-ini {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--tier-fg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px !important;
    font-weight: 600;
    box-shadow: 0 5px 0 rgba(18, 19, 42, .14);
    transform: rotate(-6deg);
}

.ctv-lp-tier-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ctv-lp-tier-name {
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    letter-spacing: -.02em;
}

.ctv-lp-tier-need {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: var(--ctv-text);
}

.ctv-lp-tier-rate {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
}

.ctv-lp-tier-rate-value {
    font-size: clamp(26px, 4vw, 36px) !important;
    line-height: 1.1 !important;
    font-weight: 600;
    letter-spacing: -.04em;
    color: var(--tier-fg);
}

.ctv-lp-tier-rate-label {
    font-size: 13px !important;
    font-weight: 500;
    color: var(--ctv-text);
}

/* Thư viện nội dung + lịch chi trả */
.ctv-lp-duo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    align-items: stretch;
    gap: 20px;
    padding: 56px 0 40px;
}

.ctv-lp-box {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: clamp(20px, 3.5vw, 32px);
    border-radius: 26px;
    scroll-margin-top: 80px;
}

.ctv-lp-box .ctv-lp-sub {
    max-width: 460px;
    color: var(--ctv-text-2);
}

.ctv-lp-box.is-media {
    background: #EAF3FF;
}

.ctv-lp-box.is-payout {
    gap: 18px;
    background: #E7FAF2;
}

.ctv-lp-box.is-media > .ctv-lp-tag {
    top: -13px;
    right: 22px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 12px !important;
    box-shadow: 0 4px 0 rgba(18, 19, 42, .12);
    transform: rotate(5deg);
}

.ctv-lp-box-list {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
    gap: 12px;
}

.ctv-lp-media-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
}

.ctv-lp-media-icon {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #EAF3FF;
    color: #2F6FDB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctv-lp-media-title {
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    font-weight: 500;
}

.ctv-lp-media-desc {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    color: var(--ctv-text);
}

.ctv-lp-payout-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
}

.ctv-lp-payout-key {
    align-self: flex-start;
    display: flex;
    align-items: center;
    height: 28px;
    padding: 0 11px;
    border-radius: 99px;
    background: #E7FAF2;
    color: #00805F;
    font-size: 12.5px !important;
    font-weight: 600;
    white-space: nowrap;
}

.ctv-lp-payout-title {
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    font-weight: 500;
    text-wrap: balance;
}

.ctv-lp-payout-desc {
    margin-top: 2px;
    font-size: 13px !important;
    line-height: 1.55 !important;
    color: var(--ctv-text);
    text-wrap: pretty;
}

/* Video CTV kể: cuộn ngang, không chặn cuộn dọc trang */
.ctv-lp-stories-sec {
    padding: 48px 0 40px;
}

.ctv-lp-stories-sec .ctv-lp-sub {
    margin-bottom: 28px;
    font-size: 15px !important;
}

.ctv-lp-stories {
    display: flex;
    gap: 16px;
    margin: 0 calc(-1 * var(--ctv-gutter));
    padding: 6px var(--ctv-gutter) 10px;
    scroll-padding-inline: var(--ctv-gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

/* Ẩn thanh cuộn, vẫn vuốt/kéo ngang được */
.ctv-lp-stories::-webkit-scrollbar {
    display: none;
}

.ctv-lp-story {
    flex: 0 0 min(340px, 84%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px;
    border-radius: 24px;
    background: var(--story-bg);
    scroll-snap-align: start;
    transition: transform .2s ease;
}

.ctv-lp-story:hover {
    transform: translateY(-4px);
}

.ctv-lp-story-cover {
    position: relative;
    width: 100%;
    height: clamp(300px, 32vw, 380px);
    border-radius: 18px;
    background: rgba(255, 255, 255, .7);
    overflow: hidden;
}

.ctv-lp-story-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ctv-lp-story-play {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
    border-radius: 99px;
    background: rgba(18, 19, 42, .82);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    pointer-events: none;
}

.ctv-lp-story-cover > .ctv-lp-tag {
    top: 12px;
    left: 12px;
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 13px !important;
    box-shadow: 0 4px 0 rgba(18, 19, 42, .16);
    transform: rotate(-5deg);
}

.ctv-lp-story-len {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 9px;
    border-radius: 99px;
    background: rgba(18, 19, 42, .72);
    color: #fff;
    font-size: 11.5px !important;
    font-weight: 500;
    pointer-events: none;
}

.ctv-lp-story-quote {
    padding: 0 10px;
    font-size: 15px !important;
    line-height: 1.65 !important;
    text-wrap: pretty;
}

.ctv-lp-story-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 0 10px 10px;
}

.ctv-lp-story-ini {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 99px;
    background: #fff;
    color: var(--story-fg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px !important;
    font-weight: 600;
}

.ctv-lp-story-name {
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    font-weight: 500;
}

.ctv-lp-story-role {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    color: var(--ctv-text);
}

/* Desktop: 3 video chia đều bề ngang, không cuộn */
@media (min-width: 921px) {
    .ctv-lp-stories {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        margin: 0;
        padding: 6px 0 10px;
        overflow: visible;
        scroll-snap-type: none;
    }

    .ctv-lp-story {
        flex: none;
    }
}

/* Điều khoản + FAQ */
.ctv-lp-faq-sec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    align-items: start;
    gap: clamp(28px, 5vw, 56px);
    padding: 56px 0 40px;
}

.ctv-lp-faq-sec .ctv-lp-h2 {
    margin-bottom: 26px;
}

.ctv-lp-terms {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ctv-lp-term {
    display: flex;
    gap: 14px;
}

.ctv-lp-term-num {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 99px;
    background: #F0EEF9;
    color: var(--ctv-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px !important;
    font-weight: 600;
}

.ctv-lp-term-title {
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 500;
}

.ctv-lp-term-desc {
    margin-top: 3px;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: var(--ctv-text);
    text-wrap: pretty;
}

.ctv-lp-faqs {
    border-top: 1px solid rgba(18, 19, 42, .12);
}

.ctv-lp-faq {
    border-bottom: 1px solid rgba(18, 19, 42, .12);
}

.ctv-lp-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border: none;
    background: transparent;
    color: var(--ctv-ink);
    text-align: left;
}

.ctv-lp-faq-q-text {
    flex: 1;
    min-width: 0;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 500;
}

.ctv-lp-faq-sign {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 99px;
    background: #F0EEF9;
    color: var(--ctv-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px !important;
    line-height: 1 !important;
    font-weight: 500;
}

.ctv-lp-faq.is-open .ctv-lp-faq-sign {
    background: var(--ctv-purple);
    color: #fff;
}

.ctv-lp-faq-a {
    display: none;
    padding: 0 40px 18px 0;
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: var(--ctv-text);
    text-wrap: pretty;
}

.ctv-lp-faq.is-open .ctv-lp-faq-a {
    display: block;
}

/* CTA cuối trang */
.ctv-lp-cta-sec {
    padding: 48px 0 72px;
}

.ctv-lp-cta {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: clamp(28px, 5vw, 52px) clamp(22px, 5vw, 56px);
    border-radius: 30px;
    background: var(--ctv-purple-light);
    color: #fff;
    overflow: hidden;
}

.ctv-lp-cta-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.4px);
    background-size: 22px 22px;
    pointer-events: none;
}

.ctv-lp-cta-text {
    position: relative;
    flex: 1;
    min-width: min(100%, 320px);
}

.ctv-lp-cta-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 10px;
    background: var(--ctv-yellow);
    color: var(--ctv-ink);
    font-size: 13px !important;
    font-weight: 600;
    transform: rotate(-4deg);
}

.ctv-lp-cta-title {
    max-width: 520px;
    margin: 0;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.04em;
    color: #fff;
    text-wrap: balance;
}

.ctv-lp-cta-desc {
    max-width: 560px;
    margin-top: 14px;
    font-size: 16px !important;
    line-height: 1.65 !important;
    opacity: .85;
    text-wrap: pretty;
}

.ctv-lp-btn-white {
    position: relative;
    flex: none;
    height: 58px;
    padding: 0 28px;
    border: none;
    background: #fff;
    color: var(--ctv-purple);
    font-weight: 600;
    box-shadow: 0 6px 0 var(--ctv-purple-dark);
}

.ctv-lp-btn-white:hover {
    transform: translateY(3px);
    box-shadow: 0 3px 0 var(--ctv-purple-dark);
}

/* Footer */
.ctv-lp-footer {
    border-top: 1px solid rgba(18, 19, 42, .08);
    background: #F4F3FA;
}

.ctv-lp-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: 32px;
    padding-top: 44px;
    padding-bottom: 40px;
}

.ctv-lp-footer-col {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ctv-lp-footer-brand {
    gap: 10px;
}

.ctv-lp-footer-logo {
    display: flex;
    align-items: center;
    align-self: flex-start;
}

/* Cùng ảnh logo với header, footer nhỏ hơn một chút */
.ctv-lp-footer-logo .ctv-lp-brand-logo {
    width: 120px;
}

.ctv-lp-footer-about {
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: var(--ctv-text);
}

.ctv-lp-footer-about a {
    color: var(--ctv-purple);
}

.ctv-lp-footer-head {
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    font-weight: 500;
}

.ctv-lp-footer-link {
    align-self: flex-start;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--ctv-text);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.ctv-lp-footer-link:hover {
    color: var(--ctv-purple);
}

/* Tablet + mobile theo bản thiết kế Mobile */
@media (max-width: 920px) {
    /* Các lưới auto-fit còn đủ chỗ 2 cột ở tablet, ép 1 cột như bản Mobile */
    .ctv-lp-calc,
    .ctv-lp-duo,
    .ctv-lp-faq-sec {
        grid-template-columns: minmax(0, 1fr);
    }

    .ctv-lp-calc-result {
        border-left: none;
        border-top: 1px solid rgba(91, 46, 229, .12);
    }

    .ctv-lp-perks {
        grid-auto-rows: auto;
    }

    .ctv-lp-body.ctv-lp-container {
        padding: 0 18px;
    }

    .ctv-lp-stories {
        margin: 0 -18px;
        padding: 0 18px 6px;
        scroll-padding-inline: 18px;
        gap: 12px;
    }

    .ctv-lp-h2 {
        font-size: 27px;
        letter-spacing: -.03em;
    }

    .ctv-lp-h3 {
        font-size: 22px;
        letter-spacing: -.025em;
    }

    .ctv-lp-sub {
        font-size: 14px !important;
    }

    .ctv-lp-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 14px;
        margin-top: 10px;
        padding: 20px;
        border-radius: 22px;
    }

    .ctv-lp-stat {
        gap: 3px;
    }

    .ctv-lp-stat-value {
        font-size: 27px !important;
    }

    .ctv-lp-stat-label {
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    .ctv-lp-perks-sec {
        padding: 40px 0 14px;
    }

    .ctv-lp-perks-sec .ctv-lp-h2 {
        margin-bottom: 18px;
    }

    .ctv-lp-perks {
        gap: 10px;
    }

    .ctv-lp-perk {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        border-radius: 18px;
    }

    .ctv-lp-perk:hover {
        transform: none;
        box-shadow: none;
    }

    .ctv-lp-perk-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .ctv-lp-perk-icon svg {
        width: 18px;
        height: 18px;
    }

    .ctv-lp-perk-text {
        gap: 10px;
    }

    .ctv-lp-perk-title {
        font-size: 14.5px !important;
    }

    .ctv-lp-perk-desc {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
    }

    .ctv-lp-calc-sec {
        padding: 34px 0 14px;
    }

    .ctv-lp-calc-wrap > .ctv-lp-tag {
        top: -14px;
        right: 14px;
        padding: 7px 12px;
        border-radius: 11px;
        font-size: 12.5px !important;
    }

    .ctv-lp-calc {
        border-radius: 22px;
    }

    .ctv-lp-calc-input {
        gap: 24px;
        padding: 22px 18px;
    }

    .ctv-lp-calc-tier-name {
        font-size: 13px !important;
    }

    .ctv-lp-calc-result {
        gap: 18px;
        padding: 22px 18px;
    }

    .ctv-lp-pill-green {
        font-size: 11.5px !important;
    }

    .ctv-lp-calc-monthly-value {
        font-size: 40px !important;
    }

    .ctv-lp-calc-monthly-unit {
        font-size: 16px !important;
    }

    .ctv-lp-pill-yellow {
        font-size: 12.5px !important;
    }

    .ctv-lp-calc-split {
        padding: 14px;
        border-radius: 16px;
    }

    .ctv-lp-calc-bar {
        height: 9px;
    }

    .ctv-lp-calc-row-title {
        font-size: 13px !important;
    }

    .ctv-lp-calc-row-desc {
        font-size: 11.5px !important;
    }

    .ctv-lp-calc-row-sum {
        font-size: 13.5px !important;
    }

    .ctv-lp-calc-daily {
        gap: 10px;
        padding: 12px 13px;
        border-radius: 14px;
        box-shadow: 0 4px 0 rgba(18, 19, 42, .16);
    }

    .ctv-lp-calc-daily-icon {
        width: 26px;
        height: 26px;
        border-radius: 8px;
    }

    .ctv-lp-calc-daily-text {
        font-size: 13.5px !important;
    }

    .ctv-lp-calc-foot {
        font-size: 11.5px !important;
    }

    .ctv-lp-steps-sec,
    .ctv-lp-tiers-sec,
    .ctv-lp-stories-sec {
        padding: 34px 0 14px;
    }

    .ctv-lp-steps-sec .ctv-lp-h2 {
        margin-bottom: 22px;
    }

    .ctv-lp-steps {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .ctv-lp-step {
        flex-direction: row;
        gap: 14px;
    }

    .ctv-lp-step-line {
        display: none;
    }

    .ctv-lp-step-num {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 18px !important;
        box-shadow: 0 4px 0 rgba(18, 19, 42, .12);
    }

    .ctv-lp-step-body {
        flex: 1;
        min-width: 0;
        gap: 6px;
    }

    .ctv-lp-step-title {
        font-size: 17px !important;
    }

    .ctv-lp-step-desc {
        max-width: none;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .ctv-lp-tiers-head {
        margin-bottom: 22px;
    }

    .ctv-lp-tiers-head .ctv-lp-sub {
        font-size: 14.5px !important;
    }

    .ctv-lp-tiers {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .ctv-lp-tier {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        min-height: 0;
        padding: 16px 18px;
        border-radius: 18px;
    }

    .ctv-lp-tier:hover {
        transform: none;
    }

    .ctv-lp-tier-hot {
        top: -11px;
        right: 16px;
        padding: 6px 11px;
        font-size: 11.5px !important;
    }

    .ctv-lp-tier-ini {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 17px !important;
        box-shadow: 0 4px 0 rgba(18, 19, 42, .14);
    }

    .ctv-lp-tier-text {
        flex: 1;
        min-width: 0;
        gap: 2px;
    }

    .ctv-lp-tier-name {
        font-size: 16px !important;
    }

    .ctv-lp-tier-need {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .ctv-lp-tier-rate {
        flex: none;
        margin-top: 0;
    }

    .ctv-lp-tier-rate-value {
        font-size: 28px !important;
    }

    .ctv-lp-tier-rate-label {
        display: none;
    }

    .ctv-lp-duo {
        gap: 22px;
        padding: 34px 0 14px;
    }

    .ctv-lp-box {
        gap: 18px;
        padding: 20px;
        border-radius: 22px;
    }

    .ctv-lp-box.is-payout {
        gap: 14px;
    }

    .ctv-lp-box.is-media > .ctv-lp-tag {
        top: -12px;
        right: 16px;
        padding: 6px 11px;
        border-radius: 9px;
        font-size: 11.5px !important;
    }

    .ctv-lp-box.is-media .ctv-lp-box-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .ctv-lp-media-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
        border-radius: 15px;
    }

    .ctv-lp-media-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .ctv-lp-media-title {
        font-size: 13.5px !important;
    }

    .ctv-lp-media-desc {
        font-size: 11.5px !important;
    }

    .ctv-lp-box.is-payout .ctv-lp-box-list {
        grid-auto-rows: auto;
        gap: 14px;
    }

    .ctv-lp-payout-item {
        gap: 8px;
        padding: 14px;
        border-radius: 15px;
    }

    .ctv-lp-payout-key {
        font-size: 12px !important;
    }

    .ctv-lp-payout-title {
        font-size: 14px !important;
    }

    .ctv-lp-payout-desc {
        font-size: 12.5px !important;
    }

    .ctv-lp-stories-sec .ctv-lp-sub {
        margin-bottom: 18px;
        font-size: 14px !important;
    }

    .ctv-lp-story {
        flex: none;
        width: 262px;
        gap: 14px;
        padding: 10px;
        border-radius: 22px;
    }

    .ctv-lp-story:hover {
        transform: none;
    }

    .ctv-lp-story-cover {
        height: 320px;
        border-radius: 16px;
    }

    .ctv-lp-story-play {
        right: 12px;
        bottom: 12px;
        width: 46px;
        height: 46px;
    }

    .ctv-lp-story-quote {
        padding: 0 8px;
        font-size: 14px !important;
        line-height: 1.6 !important;
    }

    .ctv-lp-story-author {
        gap: 11px;
        padding: 0 8px 8px;
    }

    .ctv-lp-story-ini {
        width: 40px;
        height: 40px;
        font-size: 13px !important;
    }

    .ctv-lp-story-name {
        font-size: 14px !important;
    }

    .ctv-lp-story-role {
        font-size: 12px !important;
    }

    .ctv-lp-faq-sec {
        gap: 34px;
        padding: 34px 0 14px;
    }

    .ctv-lp-faq-sec .ctv-lp-h2 {
        margin-bottom: 18px;
    }

    .ctv-lp-faq-sec .ctv-lp-faq-col .ctv-lp-h2 {
        margin-bottom: 8px;
    }

    .ctv-lp-terms {
        gap: 18px;
    }

    .ctv-lp-term {
        gap: 13px;
    }

    .ctv-lp-term-title {
        font-size: 14.5px !important;
    }

    .ctv-lp-term-desc {
        font-size: 13px !important;
    }

    .ctv-lp-faq-q {
        gap: 12px;
        padding: 16px 0;
    }

    .ctv-lp-faq-q-text {
        font-size: 14.5px !important;
    }

    .ctv-lp-faq-a {
        padding: 0 10px 16px 0;
        font-size: 13.5px !important;
    }

    .ctv-lp-cta-sec {
        padding: 22px 0 36px;
    }

    .ctv-lp-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 28px 22px;
        border-radius: 24px;
    }

    .ctv-lp-cta-dots {
        background-size: 20px 20px;
    }

    .ctv-lp-cta-tag {
        margin-bottom: 14px;
        padding: 6px 11px;
        border-radius: 9px;
        font-size: 12.5px !important;
    }

    .ctv-lp-cta-title {
        font-size: 28px;
        line-height: 1.1;
    }

    .ctv-lp-cta-desc {
        margin-top: 10px;
        font-size: 14.5px !important;
        line-height: 1.6 !important;
    }

    .ctv-lp-btn-white {
        height: 52px;
        padding: 0 22px;
        font-size: 15.5px;
        box-shadow: 0 5px 0 var(--ctv-purple-dark);
    }

    .ctv-lp-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        padding: 26px 18px 34px;
    }

    .ctv-lp-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ctv-lp-sec.is-reveal-wait {
        opacity: 1;
        transform: none;
    }
}

/* Điện thoại nhỏ (320–374px) */
@media (max-width: 374px) {
    .ctv-lp-header .ctv-lp-container {
        gap: 8px;
        padding: 10px 12px;
    }

    .ctv-lp-brand-logo {
        width: 88px;
    }

    .ctv-lp-header-link {
        font-size: 14px;
    }

    .ctv-lp-header-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .ctv-lp-hero .ctv-lp-container,
    .ctv-lp-body.ctv-lp-container {
        padding: 0 14px;
    }

    .ctv-lp-stories {
        margin: 0 -14px;
        padding: 0 14px 6px;
        scroll-padding-inline: 14px;
    }

    .ctv-lp-badge {
        font-size: 11.5px !important;
    }

    .ctv-lp-title {
        font-size: 31px;
    }

    .ctv-lp-avatar {
        width: 36px;
        height: 36px;
        font-size: 11px !important;
    }

    .ctv-lp-visual {
        height: 440px;
    }

    .ctv-lp-phone {
        width: 190px;
        height: 392px;
    }

    .ctv-lp-toast {
        width: min(220px, 80%);
    }

    .ctv-lp-stats {
        padding: 18px 16px;
    }

    .ctv-lp-stat-value {
        font-size: 24px !important;
    }

    .ctv-lp-calc-input,
    .ctv-lp-calc-result {
        padding: 20px 14px;
    }

    .ctv-lp-calc-tiers {
        gap: 5px;
    }

    .ctv-lp-calc-tier {
        padding: 0 2px;
    }

    .ctv-lp-calc-tier-name {
        font-size: 11px !important;
        white-space: normal;
        text-align: center;
    }

    .ctv-lp-calc-tier-rate {
        font-size: 10.5px !important;
    }

    .ctv-lp-calc-monthly-value {
        font-size: 34px !important;
    }

    .ctv-lp-perks {
        grid-template-columns: minmax(0, 1fr);
    }

    .ctv-lp-story {
        width: 240px;
    }

    .ctv-lp-cta {
        padding: 24px 18px;
    }
}

/* Quà chào mừng: desktop là dải riêng trên lưới quyền lợi, ≤ 920px là ô đầu lưới */
.is-tone-gold { background: #FFF4D1; color: #8A6400; }

.ctv-lp-gift {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    padding: 22px 26px;
    overflow: hidden;
    border: 1px solid rgba(224, 168, 0, .3);
    border-radius: 24px;
    background: #FFF4D1;
}

.ctv-lp-gift::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(224, 168, 0, .18) 1.2px, transparent 1.4px);
    background-size: 16px 16px;
    pointer-events: none;
}

.ctv-lp-gift-icon {
    position: relative;
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: #fff;
    color: #8A6400;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(138, 100, 0, .15);
    transform: rotate(-6deg);
}

.ctv-lp-gift-text {
    position: relative;
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ctv-lp .ctv-lp-gift-title {
    font-size: 19px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--ctv-ink);
}

.ctv-lp .ctv-lp-gift-amount {
    color: #8A6400;
    font-size: inherit !important;
}

.ctv-lp .ctv-lp-gift-desc {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #5C4A12;
    text-wrap: pretty;
}

.ctv-lp-gift-tag {
    position: relative;
    flex: none;
    padding: 7px 14px;
    border-radius: 99px;
    background: var(--ctv-ink);
    color: #FFD84D;
    font-size: 12.5px !important;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 3px 0 rgba(18, 19, 42, .2);
    transform: rotate(4deg);
}

.ctv-lp-perk.is-only-m {
    display: none;
}

/* Thẻ bậc thưởng: số % + nhãn, dưới là dòng "20% cơ bản + x% thưởng" */
.ctv-lp-tier-rate {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.ctv-lp-tier-rate-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ctv-lp .ctv-lp-tier-rate-sub {
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .65);
    color: var(--tier-fg);
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 600;
}

@media (max-width: 920px) {
    .ctv-lp-gift {
        display: none;
    }

    .ctv-lp-perk.is-only-m {
        display: flex;
    }

    .ctv-lp-tier-rate {
        align-items: flex-end;
        gap: 3px;
    }

    .ctv-lp-tier-rate-main {
        flex-direction: column;
        align-items: flex-end;
        gap: 3px;
    }

    .ctv-lp .ctv-lp-tier-rate-label {
        display: inline;
        font-size: 10.5px !important;
        line-height: 1.1 !important;
        white-space: nowrap;
    }

    .ctv-lp .ctv-lp-tier-rate-sub {
        padding: 0;
        background: none;
        font-size: 10.5px !important;
        line-height: 1.1 !important;
        white-space: nowrap;
    }
}

/* Ô bậc máy tính (thiết kế part 5): tổng %, "+x% thưởng", nhãn "Bạn ở đây"; mobile 2 cột có chữ cái, "/ đơn", mốc doanh số */
.ctv-lp .ctv-lp-calc-tiers {
    padding-top: 10px;
}

.ctv-lp .ctv-lp-calc-tier {
    position: relative;
    min-width: 0;
    height: auto;
    padding: 11px 4px 10px;
    border: 1.5px solid transparent;
    border-radius: 14px;
    background: var(--calc-tier-bg);
    color: var(--calc-tier-fg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.ctv-lp .ctv-lp-calc-tier.is-active {
    border-color: var(--calc-tier-fg);
    background: var(--calc-tier-fg);
    color: #fff;
    box-shadow: 0 12px 24px var(--calc-tier-shadow);
    transform: translateY(-4px);
}

.ctv-lp .ctv-lp-calc-tier-here {
    position: absolute;
    top: -9px;
    left: 50%;
    display: none;
    padding: 2px 7px;
    border-radius: 99px;
    background: var(--ctv-yellow);
    color: var(--ctv-ink);
    font-size: 9.5px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 0 rgba(18, 19, 42, .15);
    transform: translateX(-50%) rotate(-3deg);
}

.ctv-lp .ctv-lp-calc-tier.is-active .ctv-lp-calc-tier-here {
    display: block;
}

.ctv-lp .ctv-lp-calc-tier-head {
    display: contents;
}

.ctv-lp .ctv-lp-calc-tier-ini,
.ctv-lp .ctv-lp-calc-tier-unit,
.ctv-lp .ctv-lp-calc-tier-need {
    display: none;
}

.ctv-lp .ctv-lp-calc-tier-name {
    max-width: 100%;
    overflow: hidden;
    color: var(--ctv-text-2);
    font-size: 11.5px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ctv-lp .ctv-lp-calc-tier-total {
    color: var(--calc-tier-fg);
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 600;
    letter-spacing: -.04em;
}

.ctv-lp .ctv-lp-calc-tier-rate {
    max-width: 100%;
    color: var(--calc-tier-fg);
    font-size: 10px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    white-space: nowrap;
}

.ctv-lp .ctv-lp-calc-tier.is-active .ctv-lp-calc-tier-name,
.ctv-lp .ctv-lp-calc-tier.is-active .ctv-lp-calc-tier-total,
.ctv-lp .ctv-lp-calc-tier.is-active .ctv-lp-calc-tier-rate {
    color: #fff;
}

/* Dòng tóm tắt + nút "Xem chi tiết / Thu gọn" của bảng chia hoa hồng */
.ctv-lp .ctv-lp-calc-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 2px 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-align: left;
}

.ctv-lp .ctv-lp-calc-summary {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--ctv-text);
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ctv-lp .ctv-lp-calc-toggle-label {
    flex: none;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--ctv-purple);
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    font-weight: 600;
    white-space: nowrap;
}

.ctv-lp .ctv-lp-calc-toggle-label span {
    font-size: inherit !important;
}

.ctv-lp .ctv-lp-calc-toggle-label svg {
    transition: transform .2s ease;
}

.ctv-lp .ctv-lp-calc-toggle[aria-expanded="true"] .ctv-lp-calc-toggle-label svg {
    transform: rotate(180deg);
}

.ctv-lp .ctv-lp-calc-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(18, 19, 42, .07);
}

.ctv-lp .ctv-lp-calc-detail[hidden] {
    display: none;
}

@media (max-width: 920px) {
    .ctv-lp .ctv-lp-calc-tiers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding-top: 12px;
    }

    .ctv-lp .ctv-lp-calc-tier {
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        border-radius: 16px;
        text-align: left;
    }

    .ctv-lp .ctv-lp-calc-tier-here {
        top: -11px;
        right: 10px;
        left: auto;
        padding: 4px 9px;
        font-size: 10.5px !important;
        box-shadow: 0 3px 0 rgba(18, 19, 42, .15);
        transform: rotate(5deg);
    }

    .ctv-lp .ctv-lp-calc-tier-head {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .ctv-lp .ctv-lp-calc-tier-ini {
        flex: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 8px;
        background: var(--calc-tier-fg);
        color: #fff;
        font-size: 10.5px !important;
        font-weight: 600;
        transform: rotate(-6deg);
    }

    .ctv-lp .ctv-lp-calc-tier.is-active .ctv-lp-calc-tier-ini {
        background: #fff;
        color: var(--calc-tier-fg);
    }

    .ctv-lp .ctv-lp-calc-tier-name {
        font-size: 13px !important;
        white-space: nowrap;
    }

    .ctv-lp .ctv-lp-calc-tier-total {
        display: flex;
        align-items: baseline;
        gap: 4px;
        font-size: 28px !important;
    }

    .ctv-lp .ctv-lp-calc-tier-unit {
        display: inline;
        color: var(--ctv-muted);
        font-size: 11px !important;
        font-weight: 600;
        letter-spacing: 0;
    }

    .ctv-lp .ctv-lp-calc-tier-rate {
        align-self: flex-start;
        padding: 3px 8px;
        border-radius: 99px;
        background: #fff;
        font-size: 10.5px !important;
    }

    .ctv-lp .ctv-lp-calc-tier-need {
        display: block;
        color: var(--ctv-muted);
        font-size: 10.5px !important;
        line-height: 1.3 !important;
        font-weight: 500;
        white-space: nowrap;
    }

    .ctv-lp .ctv-lp-calc-tier.is-active .ctv-lp-calc-tier-unit,
    .ctv-lp .ctv-lp-calc-tier.is-active .ctv-lp-calc-tier-need {
        color: rgba(255, 255, 255, .78);
    }

    .ctv-lp .ctv-lp-calc-tier.is-active .ctv-lp-calc-tier-rate {
        background: rgba(255, 255, 255, .2);
    }
}
