/* ============================================================
 * common.css  —  公共组件样式（Header / Footer / three-step / 荣誉墙）
 * 由 style.css 抽离，保持源顺序；在 base.html 中于 style.css 之后引入。
 * ============================================================ */

@media (max-width: 860px) {
    .site-header {
        position: sticky;
    }

    .site-nav.is-open {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 64px);
        padding: 8px 16px max(22px, env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .site-nav.is-open .nav-item {
        position: relative;
    }

    .site-nav.is-open .nav-dropdown {
        display: none;
    }

    .site-nav.is-open .nav-has-children.is-submenu-open>.nav-dropdown {
        display: block;
    }

    .site-nav.is-open .nav-has-children.is-submenu-open>a .caret {
        transform: rotate(180deg);
    }

    .site-nav.is-open .nav-item>a {
        min-height: 48px;
    }

    .site-nav.is-open .nav-dropdown li>a {
        min-height: 42px;
        display: flex;
        align-items: center;
    }

    .three-step {
        padding: 28px 0;
    }

    .three-step-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .three-step-left {
        gap: 16px;
    }

    .three-step-title {
        font-size: 24px;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .three-step-cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .step-card {
        width: auto;
        min-width: 0;
        padding: 12px 8px;
        border-radius: 6px;
    }

    .step-card:not(:last-child)::after {
        display: none;
    }

    .step-num {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .step-desc {
        font-size: 11px;
        line-height: 1.35;
    }

    .three-step-right {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        font-size: 11px;
    }

    .three-step-qr img {
        width: 72px;
        height: 72px;
    }

    .three-step-tip {
        margin-top: 0;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .site-nav.is-open {
        top: 58px;
        max-height: calc(100vh - 58px);
    }

    .site-nav.is-open .nav-item>a {
        padding: 12px 2px;
        font-size: 15px;
    }

    .site-nav.is-open .nav-dropdown li>a {
        font-size: 14px;
    }

    .three-step-title {
        font-size: 22px;
    }

    .step-num {
        font-size: 15px;
    }

    .step-desc {
        font-size: 10px;
    }
}


.site-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

/* ========== Header ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #f3f6f8;
    border-bottom: 1px solid var(--ink-100);
    padding: clamp(15px, 1.35vw, 26px);
}

.header-inner {
    height: clamp(27px, 2.5vw, 48px);
    display: flex;
    align-items: center;
    max-width: none;
    margin: 0;
    padding: 0 clamp(24px, 5.3125vw, 102px) 0 clamp(24px, 5.729vw, 110px);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(16px, 1.0417vw, 20px);
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.site-logo-img {
    height: clamp(28px, 1.875vw, 36px);
    width: auto;
    display: block;
}

.site-nav {
    flex: 1;
}

.site-nav>ul {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: clamp(11px, 2.2344vw, 43px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-dropdown {
    list-style: none;
}

.nav-item:nth-child(1) {
    margin-left: clamp(16px, 4.2708vw, 82px);
}

.nav-item {
    position: relative;
    border-radius: 6px;
    transition: background .15s, color .15s;
}

.nav-has-children::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 8px;
    display: none;
}

.nav-item>a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0px;
    font-size: clamp(11px, 1.04vw, 20px);
    font-weight: 600;
    color: #333333;
    border-radius: 6px;
    white-space: nowrap;
    transition: color .15s, background .15s;
}

.nav-item-active>a {
    color: var(--brand-blue);
    font-weight: 600;
}

.nav-item:hover>a {
    background: transparent;
}

.nav-item .caret {
    transition: transform .15s;
}

.nav-has-children:hover .caret {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    margin-top: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid var(--ink-100);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
    z-index: 50;
}

.nav-has-children:hover::after,
.nav-has-children:focus-within::after {
    display: block;
}

.nav-has-children:hover .nav-dropdown,
.nav-has-children:focus-within .nav-dropdown {
    display: block;
}

.site-nav:hover .nav-has-children:not(:hover)::after,
.site-nav:hover .nav-has-children:not(:hover) .nav-dropdown {
    display: none;
}

.site-nav:hover .nav-has-children:not(:hover) .caret {
    transform: none;
}

.nav-dropdown li>a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--ink-700);
    border-radius: 6px;
    transition: background .15s;
}

.nav-dropdown li>a:hover {
    background: var(--ink-50);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: clamp(7px, 0.63vw, 12px);
    flex-shrink: 0;
}

.btn-ghost {
    padding: 8px clamp(18px, 1.875vw, 36px);
    font-size: clamp(15px, 1.0417vw, 20px);
    color: #044FF6;
    border: 1px solid #044FF6;
    border-radius: 23px;
    white-space: nowrap;
    transition: background .15s;
}

.btn-ghost:hover {
    background: var(--ink-50);
}

.btn-primary {
    padding: 8px clamp(18px, 1.7708vw, 34px);
    font-size: clamp(15px, 1.0417vw, 20px);
    color: #FFFFFF;
    font-weight: 400;
    background: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    border-radius: 23px;
    white-space: nowrap;
    transition: background .15s;
}

.btn-primary:hover {
    background: var(--brand-blue-deep);
    border-color: var(--brand-blue-deep);
}

/* ========== Awards (auto-scrolling marquee) ========== */
.awards {
    padding: 64px 0 48px;
    background: #fff;
}

.awards-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 40px;
}

.award {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-shrink: 0;
}

.award-laurel {
    width: 38px;
    height: auto;
    flex-shrink: 0;
}

.award-text {
    text-align: center;
    min-width: 140px;
}

.award-cn {
    font-size: 14px;
    color: var(--ink-700);
    font-weight: 500;
}

.award-en {
    font-size: 10px;
    color: var(--ink-500);
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ========== Three Step CTA (实色紫底 + 白色小卡片) ========== */
.three-step {
    background: #6603fe;
    color: #fff;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.three-step-bg {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.three-step-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    position: relative;
}

.three-step-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.three-step-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.04em;
    color: #fff;
}

.three-step-cards {
    display: flex;
    gap: 18px;
    align-items: stretch;
}

/* 三张独立白色圆角卡片；前两张通过 ::after 挂一个右指三角形 tab */
.step-card {
    position: relative;
    flex: 0 0 auto;
    width: 220px;
    background: #fff;
    border-radius: 8px;
    padding: 20px 18px;
    text-align: center;
    cursor: pointer;
    /* drop-shadow 应用到整体（含 ::after 三角），形成统一阴影 */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.20));
    transition: transform .18s, filter .18s;
}

.step-card:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.32));
}

/* 右指三角形 tab：用 border 技法生成，紧贴卡片右边、垂直居中 */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 96.5%;
    top: 50%;
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 18px solid #fff;
    transform: translateY(-50%);
    pointer-events: none;
}

.step-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 6px;
}

.step-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--brand-blue);
}

.three-step-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 12px;
    line-height: 1.7;
}

.three-step-qr {
    display: inline-block;
    padding: 4px;
    background: #fff;
    border-radius: 4px;
}

.three-step-tip {
    margin-top: 8px;
    text-align: center;
    color: #fff;
    font-size: 12px;
}

/* ========== Footer ========== */
.site-footer {
    background: #2e2e2e;
    color: #DCE0EA;
    padding: clamp(70px, 6.46vw, 124px) 0 clamp(55px, 5.1vw, 98px);
    margin-top: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 88px;
    padding-bottom: clamp(59px, 5.42vw, 104px);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 18px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    display: block;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: clamp(9px, 0.83vw, 16px);
    margin-top: clamp(19px, 1.72vw, 33px);
    font-size: clamp(9px, 0.83vw, 16px);
}

.contact-row {
    display: flex;
    align-items: center;
    gap: clamp(7px, 0.68vw, 13px);
    color: #DCE0EA;
}

.contact-icon {
    width: clamp(14px, 1.25vw, 24px);
    height: clamp(14px, 1.25vw, 24px);
    border-radius: 0;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.footer-contact .contact-row:nth-child(1) .contact-icon {
    background-image: url("../img/home-footer/footer-email-icon.webp");
}

.footer-contact .contact-row:nth-child(2) .contact-icon {
    background-image: url("../img/home-footer/footer-service-icon.webp");
}

.footer-contact .contact-icon svg {
    display: none;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.footer-col h4 {
    color: #fff;
    font-size: clamp(11px, 1.04vw, 20px);
    font-weight: 600;
    margin: 0 0 16px;
}

.footer-col a {
    display: block;
    font-size: clamp(9px, 0.83vw, 16px);
    color: #979595;
    padding: 6px 0;
    transition: color .15s;
}

.footer-col a:hover {
    color: var(--brand-blue);
}

.footer-divider {
    height: 1px;
    background: #AAAAAA;
}

.footer-legal {
    padding: clamp(25px, 2.34vw, 45px) 0 clamp(24px, 2.24vw, 43px);
    font-size: clamp(8px, 0.73vw, 14px);
    color: #7A7A7A;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 14px;
}

.legal-heading {
    color: #DCE0EA;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: clamp(30px, 2.81vw, 54px);
    border-top: 1px solid #AAAAAA;
    font-size: clamp(8px, 0.73vw, 14px);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #7A7A7A;
    transition: color .15s;
}

.footer-bottom-links a:hover {
    color: var(--brand-blue);
}

@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-cols {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 32px;
    }
}

@media (max-width: 860px) {
    .header-inner {
        gap: 16px;
        padding: 0 16px;
    }

    .site-nav {
        display: none;
    }

    .three-step-inner {
        grid-template-columns: 1fr;
    }

    .three-step-right {
        justify-self: center;
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
}


/* ============================================================
 * Mobile Patch (2026.05.04) — 移动端补丁
 * 仅在小屏断点内生效，绝不影响电脑端
 * ============================================================ */

/* Hamburger toggle 按钮在 PC 端默认隐藏 */
.nav-toggle {
    display: none;
}

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: space-between;
        width: 38px;
        height: 38px;
        padding: 10px 8px;
        background: transparent;
        border: 1px solid var(--ink-100);
        border-radius: 8px;
        cursor: pointer;
        box-sizing: border-box;
    }

    .nav-toggle-bar {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--ink-700);
        border-radius: 2px;
        transform-origin: center;
        transition: transform .2s ease, opacity .2s ease;
    }

    .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header-inner {
        gap: 12px;
    }

    .header-actions {
        gap: 8px;
        margin-left: auto;
    }

    .header-actions .btn-ghost {
        padding: 6px 14px;
        font-size: 13px;
    }

    .header-actions .btn-primary {
        padding: 6px 14px;
        font-size: 13px;
    }

    .site-nav.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--ink-100);
        box-shadow: 0 12px 24px rgba(14, 17, 24, 0.08);
        padding: 8px 16px 18px;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        z-index: 90;
    }

    .site-nav.is-open>ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .site-nav.is-open .nav-item {
        position: static;
        border-radius: 0;
    }

    .site-nav.is-open .nav-item>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 14px 4px;
        font-size: 16px;
        border-bottom: 1px solid var(--ink-50);
        border-radius: 0;
    }

    .site-nav.is-open .nav-item:hover>a {
        background: transparent;
    }

    .site-nav.is-open .nav-dropdown {
        position: static;
        display: block;
        margin: 0 0 8px;
        padding: 0 0 0 14px;
        min-width: 0;
        border: none;
        border-left: 2px solid var(--ink-100);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .site-nav.is-open .nav-dropdown li>a {
        padding: 12px 8px;
        font-size: 14px;
        color: var(--ink-500);
    }

    .site-nav.is-open .nav-has-children::after {
        display: none;
    }

    .site-nav.is-open .nav-has-children .caret {
        transform: rotate(0);
    }

    .awards {
        padding: 48px 0 32px;
    }

    .awards-title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .award {
        gap: 8px;
    }

    .award-laurel {
        width: 28px;
    }

    .award-text {
        min-width: 110px;
    }

    .award-cn {
        font-size: 12px;
    }

    .award-en {
        font-size: 9px;
    }
}

@media (max-width: 560px) {

    .header-actions .btn-ghost,
    .header-actions .btn-primary {
        padding: 5px 12px;
        font-size: 12px;
    }

    .awards {
        padding: 36px 0 24px;
    }

    .awards-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .award-laurel {
        width: 22px;
    }

    .award-text {
        min-width: 90px;
    }

    .award-cn {
        font-size: 11px;
    }

    .award-en {
        font-size: 8px;
    }
}

@media (max-width: 860px) {
    .site-nav.is-open {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 64px);
        padding: 8px 16px max(22px, env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .site-nav.is-open .nav-item {
        position: relative;
    }

    .site-nav.is-open .nav-dropdown {
        display: none;
    }

    .site-nav.is-open .nav-has-children.is-submenu-open>.nav-dropdown {
        display: block;
    }

    .site-nav.is-open .nav-has-children.is-submenu-open>a .caret {
        transform: rotate(180deg);
    }

    .site-nav.is-open .nav-item>a {
        min-height: 48px;
    }

    .site-nav.is-open .nav-dropdown li>a {
        min-height: 42px;
        display: flex;
        align-items: center;
    }

    .three-step {
        padding: 28px 0;
    }

    .three-step-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
    }

    .three-step-left {
        gap: 16px;
    }

    .three-step-title {
        font-size: 24px;
        line-height: 1.2;
        letter-spacing: 0;
    }

    .three-step-cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .step-card {
        width: auto;
        min-width: 0;
        padding: 12px 8px;
        border-radius: 6px;
    }

    .step-card:not(:last-child)::after {
        display: none;
    }

    .step-num {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .step-desc {
        font-size: 11px;
        line-height: 1.35;
    }

    .three-step-right {
        display: none;
    }

    .three-step-qr img {
        width: 72px;
        height: 72px;
    }

    .three-step-tip {
        margin-top: 0;
        text-align: left;
    }
}

@media (max-width: 560px) {
    .site-nav.is-open {
        top: 58px;
        max-height: calc(100vh - 58px);
    }

    .site-nav.is-open .nav-item>a {
        padding: 12px 2px;
        font-size: 15px;
    }

    .site-nav.is-open .nav-dropdown li>a {
        font-size: 14px;
    }

    .three-step-title {
        font-size: 22px;
    }

    .step-num {
        font-size: 15px;
    }

    .step-desc {
        font-size: 10px;
    }
}

@media (max-width:560px) {
    body .header-inner {
        height: 58px;
        gap: 8px;
        padding: 0 14px;
    }

    body .site-logo-img {
        height: 32px;
        max-width: 136px;
        object-fit: contain;
    }

    body .header-actions {
        gap: 6px;
    }

    body .header-actions .btn-ghost {
        display: none;
    }

    body .header-actions .btn-primary {
        padding: 5px 9px;
        font-size: 12px;
        white-space: nowrap;
    }

    body .nav-toggle {
        width: 34px;
        height: 34px;
        padding: 9px 7px;
    }
}


/* ========== Footer CTA & Awards final cascade ========== */
body .three-step {
    position: relative;
    padding: clamp(42px, 4.375vw, 84px) 0 0;
    background: linear-gradient(180deg, #f3f6f8 0%, #f3f6f8 64.1%, #e4eaf9 64.1%, #e4eaf9 100%);
    color: #fff;
    overflow: hidden;
}

body .three-step-bg {
    display: none;
}

body .three-step-inner {
    position: relative;
    display: block;
    width: clamp(675px, 62.5vw, 1200px);
    max-width: calc(100% - 40px);
    height: clamp(168px, 15.625vw, 300px);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: clamp(17px, 1.5625vw, 30px);
    background: #0a76f8 url("../img/home-footer/three-step-blue-panel-bg.webp?v=2") center / 100% 100% no-repeat;
}

body .three-step-title {
    position: absolute;
    left: 5%;
    top: 24.67%;
    margin: 0;
    color: #fff;
    font-family: MiSans-Bold, MiSans, var(--font-sans);
    font-size: clamp(24px, 1.875vw, 36px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

body .three-step-download-copy {
    position: absolute;
    left: auto;
    right: 29.92%;
    top: 23.67%;
    color: #fff;
    font-family: MiSans-Regular, MiSans, var(--font-sans);
    font-size: clamp(12px, .938vw, 18px);
    font-weight: 400;
    line-height: 1.28;
    text-align: right;
    white-space: nowrap;
}

body .three-step-download-arrow {
    position: absolute;
    left: 71.17%;
    top: 26.27%;
    width: 0;
    height: 0;
    border-top: clamp(7px, .646vw, 12.4px) solid transparent;
    border-bottom: clamp(7px, .646vw, 12.4px) solid transparent;
    border-left: clamp(10px, .896vw, 17.2px) solid #d1efff;
}

body .three-step-cards {
    position: absolute;
    left: 5%;
    top: 54%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 2.083vw, 40px);
    width: 65.25%;
    height: 28%;
}

body .step-card {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 clamp(12px, .938vw, 18px);
    gap: clamp(8px, 0.73vw, 14px);
    color: #333;
    text-decoration: none;
    text-align: left;
    background: linear-gradient(180deg, #e3f3ff 0%, #fefeff 100%);
    border: 1px solid #fff;
    border-radius: 16px;
    box-shadow: 0 6px 36px 0 rgba(146, 188, 232, .9);
    filter: none;
    box-sizing: border-box;
    transition: transform .18s, box-shadow .18s;
}

body .step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px 0 rgba(146, 188, 232, 1);
    filter: none;
}

body .step-card-1,
body .step-card-2,
body .step-card-3 {
    z-index: 1;
    left: auto;
}

body .three-step .step-card::after {
    content: none;
    border: 0;
}

body .three-step .step-card-1::after,
body .three-step .step-card-2::after {
    content: "";
    position: absolute;
    left: auto;
    right: calc(-1 * clamp(10px, 1.042vw, 20px) - 5px);
    top: 50%;
    z-index: 2;
    width: clamp(7px, .521vw, 10px);
    height: clamp(13px, .99vw, 19px);
    border: 0;
    background: url("../img/home-footer/step-arrow.webp") center / contain no-repeat;
    transform: translateY(-50%);
    pointer-events: none;
}

body .step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 clamp(28px, 2.031vw, 39px);
    width: clamp(28px, 2.031vw, 39px);
    height: clamp(28px, 2.031vw, 39px);
}

body .step-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body .step-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: clamp(6px, 0.57vw, 11px);
}

body .step-num {
    display: block;
    margin: 0;
    color: #292727;
    font-family: MiSans-Bold, MiSans, var(--font-sans);
    font-size: clamp(11px, 1.04vw, 20px);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

body .step-desc {
    display: block;
    color: #686e7f;
    font-family: MiSans-Regular, MiSans, var(--font-sans);
    font-size: clamp(8px, 0.73vw, 14px);
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

body .three-step-qr {
    position: absolute;
    right: 4.25%;
    top: 13.07%;
    display: block;
    width: clamp(150px, 11.615vw, 223px);
    height: clamp(150px, 11.615vw, 223px);
    padding: clamp(8px, .573vw, 11px);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 8px;
    background: rgba(255, 255, 255, .33);
    box-sizing: border-box;
}

body .three-step-qr img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    background: #fff;
}

body .awards {
    position: relative;
    padding: clamp(84px, 7.81vw, 150px) 0 clamp(72px, 4.271vw, 82px);
    background: #e4eaf9;
    overflow: hidden;
}

body .awards-title {
    margin: 0 0 clamp(52px, 4.84vw, 93px);
    color: #333;
    font-family: MiSans-Bold, MiSans, var(--font-sans);
    font-size: clamp(34px, 2.396vw, 46px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
}

body .awards-stage {
    position: relative;
    height: clamp(102px, 7.552vw, 145px);
    overflow: hidden;
}

body .awards-track {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4580px;
    height: 145px;
    transform: translate3d(-960px, 0, 0);
    animation: awardsWallMarquee 34s linear infinite;
    padding: 0;
    will-change: transform;
}

body .awards-stage:hover .awards-track {
    animation-play-state: paused;
}

body .award {
    position: absolute;
    top: 0;
    display: block;
    width: 399px;
    height: 145px;
    flex: none;
    text-align: center;
}

body .award-1 {
    left: -169px;
}

body .award-2 {
    left: 288px;
}

body .award-3 {
    left: 760px;
}

body .award-4 {
    left: 1195px;
}

body .award-5 {
    left: 1647px;
}

body .award-6 {
    left: 2104px;
}

body .award-7 {
    left: 2561px;
}

body .award-8 {
    left: 3033px;
}

body .award-9 {
    left: 3468px;
}

body .award-10 {
    left: 3920px;
}

body .award-decoration {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

body .award-text {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 30px;
    width: 78%;
    min-width: 0;
    transform: translateX(-50%);
    text-align: center;
}

body .award-cn {
    color: #292727;
    font-family: MiSans-Bold, MiSans, var(--font-sans);
    font-size: clamp(16px, 1.46vw, 28px);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

body .award-en {
    margin-top: 24px;
    color: #7e8697;
    font-family: MiSans-Regular, MiSans, var(--font-sans);
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

body #awards .award-text {
    top: 30px;
}

body #awards .award-cn {
    display: block;
}

body #awards .award-en {
    max-width: 260px;
    margin: 24px auto 0;
    color: #686E7F;
    font-family: MiSans-Light, MiSans, var(--font-sans);
    font-size: clamp(11px, 1.04vw, 20px);
    font-weight: 300;
    line-height: 1.12;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body .site-footer {
    background: #161818;
}

@keyframes awardsWallMarquee {
    0% {
        transform: translate3d(-960px, 0, 0);
    }

    100% {
        transform: translate3d(-3233px, 0, 0);
    }
}

@media (prefers-reduced-motion:reduce) {
    body .awards-track {
        animation: none;
        transform: translate3d(-960px, 0, 0);
        will-change: auto;
    }
}

@media (max-width:1080px) {
    body .three-step {
        padding: 44px 0 0;
        background: linear-gradient(180deg, #f3f6f8 0%, #f3f6f8 55%, #e4eaf9 55%, #e4eaf9 100%);
    }

    body .three-step-inner {
        width: calc(100% - 28px);
        max-width: 640px;
        height: auto;
        min-height: 0;
        padding: 28px 18px 22px;
        border-radius: 20px;
        background-size: cover;
    }

    body .three-step-title {
        position: relative;
        left: auto;
        top: auto;
        font-size: 28px;
        line-height: 1.2;
        text-align: left;
    }

    body .three-step-download-copy,
    body .three-step-download-arrow,
    body .three-step-qr {
        display: none;
    }

    body .three-step-cards {
        position: relative;
        left: auto;
        top: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        height: auto;
        margin-top: 22px;
    }

    body .step-card,
    body .step-card-1,
    body .step-card-2,
    body .step-card-3 {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        min-height: 84px;
        padding: 18px 20px;
        gap: 16px;
        border-radius: 14px;
    }

    body .three-step .step-card-1::after,
    body .three-step .step-card-2::after {
        display: none;
    }

    body .step-num {
        font-size: 21px;
    }

    body .step-desc {
        font-size: 14px;
        line-height: 1.35;
        white-space: normal;
    }

    /* 移动端荣誉墙：与桌面相同的横向滚动 marquee，仅尺寸自适应 */
    body .awards {
        padding: clamp(40px, 8vw, 64px) 0 clamp(32px, 6vw, 48px);
    }

    body .awards-title {
        margin-bottom: clamp(24px, 5vw, 36px);
        padding: 0 18px;
        font-size: clamp(22px, 5.6vw, 30px);
        line-height: 1.2;
    }

    body .awards-stage {
        height: clamp(102px, 28vw, 140px);
        overflow: hidden;
        padding: 0;
    }

    body .awards-track {
        position: relative;
        left: auto;
        top: auto;
        display: flex;
        align-items: center;
        gap: 0;
        width: max-content;
        max-width: none;
        height: 100%;
        margin: 0;
        transform: none;
        animation: awardsMarqueeMobile 22s linear infinite;
        will-change: transform;
    }

    body .awards-stage:hover .awards-track,
    body .awards-stage:active .awards-track {
        animation-play-state: paused;
    }

    body .award,
    body .award-1,
    body .award-2,
    body .award-3,
    body .award-4,
    body .award-5,
    body .award-6,
    body .award-7,
    body .award-8,
    body .award-9,
    body .award-10 {
        position: relative;
        left: auto;
        top: auto;
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: clamp(130px, 36vw, 160px);
        max-width: clamp(180px, 52vw, 232px);
        height: 100%;
        margin-right: 31px;
        text-align: center;
    }

    body #awards .award-decoration {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 0;
        width: 118%;
        height: 130%;
        transform: translate(-50%, -50%);
        object-fit: contain;
        pointer-events: none;
    }

    body #awards .award-text {
        position: relative;
        left: auto;
        top: auto;
        z-index: 1;
        width: 100%;
        margin: 0;
        padding: 0 32px;
        transform: none;
        text-align: center;
    }

    /* 中/英文均最多 2 行（超长自动截断），保证各奖牌高度一致、长文本不撑乱 */
    body #awards .award-cn {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        width: 100%;
        margin: 0;
        color: #292727;
        font-size: clamp(12px, 3.3vw, 17px);
        font-weight: 700;
        line-height: 1.18;
        white-space: normal;
        word-break: break-word;
        overflow: hidden;
    }

    body #awards .award-en {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        width: 100%;
        max-width: none;
        margin: clamp(4px, 1.3vw, 9px) auto 0;
        color: #686e7f;
        font-size: clamp(8px, 2.1vw, 12px);
        font-weight: 400;
        line-height: 1.22;
        white-space: normal;
        word-break: break-word;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@keyframes awardsMarqueeMobile {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* 移动端荣誉墙：尊重「减少动态效果」偏好，停止滚动并复位 */
@media (prefers-reduced-motion: reduce) and (max-width: 1080px) {
    body .awards-track {
        animation: none;
        transform: none;
    }
}

@media (max-width:560px) {
    body .three-step-title {
        font-size: 24px;
    }

    body .step-card {
        min-height: 76px;
        padding: 16px;
    }

    body .step-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    body .step-num {
        font-size: 18px;
    }

    body .step-desc {
        font-size: 12px;
    }

    /* 荣誉墙字号在 ≤1080 的 marquee 规则里已用 clamp 统一控制，≤560 无需再覆盖 */
}


/* ========== Per-page overrides for shared footer sections (CTA / Awards) ========== */
/* 荣誉墙（#awards）默认隐藏；桌面仅在 首页 / 关于我们 / 文章详情 显示。 */
/* calculator / calendar / mobile-app 只在移动端显示，并统一使用 common/footer.html 的同一份 awards common area。 */
#awards {
    display: none;
}

body:has(.home-features) #awards,
body:has(.about-template) #awards,
body:has(.article-detail-page) #awards {
    display: block;
}

/* 未显示荣誉墙的页面：给 CTA(three-step) 补足底部间距（与顶部对称），避免蓝色面板直贴深色 footer。
   桌面显示荣誉墙的页面保持底部 0，由 #awards 续接。 */
body:not(:has(.home-features)):not(:has(.about-template)):not(:has(.article-detail-page)) .three-step {
    padding-bottom: clamp(42px, 4.375vw, 84px);
    background: #f3f6f8;
}

/* ==========================================================================
   移动端适配 (<1080px) —— 收益计算器 + 公共 Header / Footer
   设计稿: mobiledocs/investment-calculator-mobile (Figma 画布宽 1080px)
   缩放体系: 设计px D → D/10.8 vw（1080px 视口处 1:1 还原，向下等比缩小），
            文本用 clamp(可读下限, Dvw, 设计px) 保证小屏可读。
   该块位于文件末尾，body 前缀 → 覆盖前面所有同名移动端规则。
   ========================================================================== */

/* 移动端专属新增元素：桌面端默认隐藏（仅在下方 max-width:1080px 内显示） */
.nav-cta {
    display: none;
}

.three-step-applink {
    display: none;
}

@media (max-width: 1080px) {
    body .site-header {
        padding: 0;
    }

    body .header-inner {
        height: clamp(50px, 10.4vw, 120px);
        gap: 12px;
        padding: 0 clamp(16px, 2.78vw, 30px);
    }

    body .site-logo {
        gap: clamp(6px, 0.9vw, 10px);
        font-size: clamp(17px, 3.7vw, 40px);
    }

    body .site-logo-img {
        height: clamp(27px, 5vw, 56px);
        max-width: clamp(150px, 26.7vw, 288px);
        object-fit: contain;
    }

    body .site-logo svg {
        width: clamp(30px, 5.6vw, 60px);
        height: auto;
    }

    body .site-nav {
        display: none;
        flex: none;
    }

    body .header-actions {
        display: none;
    }

    body .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        justify-content: space-between;
        flex: 0 0 auto;
        width: clamp(25px, 4.5vw, 54px);
        height: clamp(20px, 3.7vw, 43px);
        margin-left: auto;
        padding: clamp(2px, 0.5vw, 6px) 0;
        background: transparent;
        border: none;
        cursor: pointer;
        box-sizing: border-box;
    }

    body .nav-toggle-bar {
        display: block;
        width: 100%;
        height: clamp(2.5px, 0.34vw, 4px);
        background: #044FF6;
        border-radius: 2px;
        transform-origin: center;
        transition: transform .2s ease, opacity .2s ease;
    }

    body .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
        transform: translateY(clamp(7px, 1.7vw, 18px)) rotate(45deg);
    }

    body .nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
        opacity: 0;
    }

    body .nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
        transform: translateY(calc(-1 * clamp(7px, 1.7vw, 18px))) rotate(-45deg);
    }

    body .site-nav.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--ink-100);
        box-shadow: 0 12px 24px rgba(14, 17, 24, 0.10);
        padding: 8px 16px 18px;
        max-height: calc(100vh - clamp(54px, 11.11vw, 120px));
        overflow-y: auto;
        z-index: 90;
    }

    body .site-nav.is-open>ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    body .site-nav.is-open .nav-item,
    body .site-nav.is-open .nav-item:nth-child(1) {
        position: static;
        margin-left: 0;
        border-radius: 0;
    }

    body .site-nav.is-open .nav-item>a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 14px 4px;
        font-size: 16px;
        color: #333;
        border-bottom: 1px solid var(--ink-50);
        border-radius: 0;
    }

    body .site-nav.is-open .nav-item:hover>a {
        background: transparent;
    }

    body .site-nav.is-open .nav-dropdown {
        position: static;
        display: none;
        margin: 0 0 8px;
        padding: 0 0 0 14px;
        min-width: 0;
        border: none;
        border-left: 2px solid var(--ink-100);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    body .site-nav.is-open .nav-has-children.is-submenu-open>.nav-dropdown {
        display: block;
    }

    body .site-nav.is-open .nav-has-children.is-submenu-open>a .caret {
        transform: rotate(180deg);
    }

    body .site-nav.is-open .nav-dropdown li>a {
        padding: 12px 8px;
        font-size: 14px;
        color: var(--ink-500);
    }

    body .site-nav.is-open .nav-cta {
        display: flex;
        gap: 12px;
        margin-top: 14px;
    }

    body .site-nav.is-open .nav-cta a {
        flex: 1;
        text-align: center;
        padding: 11px 0;
        font-size: 15px;
        border-radius: 24px;
    }

    body .three-step {
        padding: clamp(26px, 4.6vw, 50px) 0 clamp(32px, 9.167vw, 99px);
        background: #f3f6f8;
    }

    body:not(:has(.home-features)):not(:has(.about-template)):not(:has(.article-detail-page)) .three-step {
        padding-bottom: clamp(32px, 9.167vw, 99px);
    }

    body .three-step-inner {
        position: relative;
        display: block;
        width: auto;
        max-width: none;
        height: auto;
        min-height: 0;
        margin: 0 clamp(10px, 2.78vw, 30px);
        padding: clamp(22px, 4vw, 44px) clamp(13px, 2.2vw, 30px);
        border-radius: clamp(16px, 2.96vw, 32px);
        background: linear-gradient(120deg, #2270f2 0%, #3f9bff 46%, #59c4ff 70%, #6f7cef 100%);
        overflow: visible;
        box-sizing: border-box;
    }

    body .three-step-title {
        position: static;
        left: auto;
        top: auto;
        margin: 0 0 clamp(18px, 3vw, 30px);
        color: #fff;
        font-size: clamp(18px, 4.2vw, 42px);
        font-weight: 700;
        line-height: 1.2;
        text-align: left;
    }

    body .three-step-download-copy,
    body .three-step-download-arrow,
    body .three-step-qr {
        display: none;
    }

    body .three-step-cards {
        position: static;
        left: auto;
        top: auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(9px, 1.6vw, 18px);
        width: 100%;
        height: auto;
        margin: 0;
    }

    body .step-card,
    body .step-card-1,
    body .step-card-2,
    body .step-card-3 {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: clamp(9px, 2.41vw, 26px);
        padding: clamp(12px, 2vw, 22px) clamp(9px, 1.5vw, 18px);
        background: linear-gradient(162deg, #ffffff 0%, #e8f2ff 100%);
        border: none;
        border-radius: clamp(10px, 1.5vw, 16px);
        box-shadow: 0 6px 20px rgba(20, 70, 160, 0.16);
        filter: none;
    }

    body .step-icon {
        display: flex;
        align-items: center;
        justify-content: start;
        flex: 0 0 auto;
        width: clamp(28px, 4.26vw, 46px);
        height: clamp(28px, 4.26vw, 46px);
    }

    body .step-icon img {
        display: block;
        width: clamp(16px, 4.26vw, 46px);
        height: clamp(16px, 4.26vw, 46px);
        object-fit: contain;
    }

    body .step-copy {
        display: flex;
        flex-direction: column;
        gap: clamp(3px, 0.6vw, 6px);
        min-width: 0;
        width: 100%;
    }

    body .step-num {
        margin: 0;
        color: #292727;
        font-size: clamp(12px, 2.96vw, 32px);
        font-weight: 700;
        line-height: 1.1;
        white-space: nowrap;
    }

    body .step-desc {
        color: #686e7f;
        font-size: clamp(8px, 2.05vw, 24px);
        line-height: 1.3;
        white-space: normal;
    }

    body .three-step .step-card::after {
        content: none;
    }

    body .three-step .step-card-1::after,
    body .three-step .step-card-2::after {
        content: "";
        position: absolute;
        left: 100%;
        right: auto;
        top: 50%;
        z-index: 3;
        width: clamp(7px, 1.4vw, 11px);
        height: clamp(7px, 1.4vw, 11px);
        margin-left: clamp(1px, 0.4vw, 5px);
        border-top: 2px solid rgba(255, 255, 255, 0.95);
        border-right: 2px solid rgba(255, 255, 255, 0.95);
        background: none;
        transform: translate(-50%, -50%) rotate(45deg);
        pointer-events: none;
    }

    body .three-step-applink {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(12px, 2.4vw, 24px);
        width: clamp(240px, 64vw, 640px);
        min-height: clamp(44px, 10.83vw, 117px);
        margin: clamp(24px, 6.852vw, 74px) auto 0;
        padding: 0 clamp(16px, 2.5vw, 28px);
        background: #044FF6;
        border-radius: 999px;
        color: #fff;
        font-size: clamp(13px, 2.96vw, 32px);
        font-weight: 500;
        text-decoration: none;
        box-sizing: border-box;
    }

    body .three-step-applink .dl-divider {
        flex: 0 0 auto;
        width: clamp(1px, 0.28vw, 3px);
        height: clamp(18px, 4vw, 43px);
        background: rgba(255, 255, 255, 0.75);
        border-radius: 2px;
    }

    body .three-step-applink .dl-scan {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: clamp(18px, 3.3vw, 36px);
        height: clamp(18px, 3.3vw, 36px);
    }

    body .three-step-applink .dl-scan svg {
        width: 100%;
        height: 100%;
    }

    body .three-step-applink .dl-scan img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    body:has(:where(.calculator-template, .calendar-template, .mobile-app-template)) #awards {
        display: block;
    }

    body:has(:where(.calculator-template, .calendar-template, .mobile-app-template)) #three-step {
        padding-bottom: clamp(8px, 1.5vw, 20px);
        padding: clamp(26px, 4.6vw, 50px) 0 clamp(32px, 9.167vw, 99px);
    }

    /* calculator / calendar / mobile-app 页荣誉墙样式由通用移动端 awards marquee 统一接管。 */
    body .site-footer {
        background: #161818;
        color: #dce0ea;
        padding: clamp(32px, 5.5vw, 60px) 0 clamp(22px, 4vw, 44px);
    }

    body .footer-top {
        display: block;
        padding-bottom: 0;
    }

    body .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    body .footer-logo {
        justify-content: center;
        font-size: clamp(16px, 3.89vw, 42px);
    }

    body .footer-logo-img {
        height: clamp(30px, 7.87vw, 85px);
    }

    body .footer-contact {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: clamp(16px, 3vw, 40px);
        margin-top: clamp(18px, 3.2vw, 32px);
        font-size: clamp(12px, 3.33vw, 36px);
    }

    body .contact-row {
        gap: clamp(6px, 1vw, 12px);
        color: #fff;
    }

    body .contact-icon {
        width: clamp(22px, 3.9vw, 58px);
        height: clamp(22px, 3.9vw, 58px);
    }

    body .footer-contact .contact-row:nth-child(1) {
        gap: clamp(9px, 2.315vw, 25px);
    }

    body .footer-contact .contact-row:nth-child(2) {
        gap: clamp(7px, 1.759vw, 19px);
    }

    body .footer-contact .contact-icon {
        flex: 0 0 auto;
        border-radius: 0;
        background-color: transparent;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    body .footer-contact .contact-icon svg {
        display: none;
    }

    body .footer-contact .contact-row:nth-child(1) .contact-icon {
        width: clamp(20px, 5.37vw, 58px);
        height: clamp(20px, 5.37vw, 58px);
        background-image: url("../img/home-footer/footer-email-icon.webp");
    }

    body .footer-contact .contact-row:nth-child(2) .contact-icon {
        width: clamp(21px, 5.648vw, 61px);
        height: clamp(21px, 5.648vw, 61px);
        background-image: url("../img/home-footer/footer-service-icon.webp");
    }

    body .contact-row span:last-child {
        text-transform: uppercase;
    }

    body .footer-cols {
        display: none;
    }

    body .footer-divider {
        height: 1px;
        margin: clamp(31px, 8.148vw, 88px) 0 0;
        background: #AAAAAA;
    }

    body .footer-legal {
        padding: clamp(19px, 5.185vw, 56px) clamp(4px, 1vw, 12px) clamp(4px, 1.11vw, 12px)0;
        font-size: clamp(11px, 2.59vw, 28px);
        line-height: 1.45;
        color: #888;
    }

    body .legal-heading {
        margin-bottom: clamp(8px, 1.4vw, 16px);
        color: #fff;
        font-size: clamp(13px, 3.33vw, 36px);
    }

    body .legal-section {
        margin-bottom: clamp(20px, 5.37vw, 58px);
    }

    body .footer-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: clamp(17px, 4.63vw, 50px);
        padding-top: 0;
        border-top: none;
        font-size: clamp(10px, 2.4vw, 28px);
    }

    body .footer-bottom-links {
        order: -1;
        flex-wrap: wrap;
        gap: clamp(4px, 0.9vw, 10px);
        color: #7a7a7a;
    }

    body .footer-bottom-links a:not(:last-child)::after {
        content: "|";
        margin-left: clamp(4px, 0.9vw, 10px);
        color: #4d4d4d;
        font-weight: 400;
    }

    body .footer-bottom>span {
        margin-top: clamp(2px, 0.6vw, 8px);
        padding-top: clamp(14px, 2.4vw, 24px);
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        color: #fff;
    }

    /* body .site-wrap {
        padding-bottom: clamp(58px, 16.5vw, 96px);
    } */
}

/* ========================================================================
 * Mobile sticky download bar (footer-app-bar) — only shows on mobile (<=1080px)
 * ======================================================================== */
.footer-app-bar {
    display: none;
}

@media (max-width: 1080px) {
    .footer-app-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: -0.5vw;
        z-index: 300;
        display: flex;
        align-items: center;
        gap: clamp(8px, 2.96vw, 24px);
        padding: clamp(14px, 3.7vw, 40px) clamp(12px, 3.7vw, 32px);
        background: #fff;
        box-shadow: 0 -2px 16px rgba(20, 40, 90, .12);
        text-decoration: none;
        box-sizing: border-box;
    }

    .footer-app-bar-logo {
        flex: none;
        width: clamp(42px, 11.11vw, 120px);
        height: clamp(42px, 11.11vw, 120px);
        /* border-radius: clamp(8px, 2.22vw, 16px); */
        object-fit: cover;
    }

    .footer-app-bar-text {
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: clamp(8px, 2.22vw, 24px);
        line-height: 1.15;
    }

    .footer-app-bar-text strong {
        color: #333;
        font-size: clamp(15px, 3.89vw, 42px);
        font-weight: bold;
    }

    .footer-app-bar-text span {
        color: #333;
        font-size: clamp(13px, 3.33vw, 36px);
    }

    .footer-app-bar-text em {
        color: #EF0017;
        font-style: normal;
    }

    .footer-app-bar-btn {
        flex: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: clamp(10px, 2.59vw, 28px) clamp(30px, 7.87vw, 85px);
        border-radius: 999px;
        background: #0850f6;
        color: #fff;
        font-size: clamp(11px, 2.96vw, 32px);
        font-weight: 700;
        white-space: nowrap;
    }

    /* Keep page content clear of the fixed bar */
    body .site-wrap {
        padding-bottom: clamp(64px, 17vw, 112px);
    }
}

/* ========================================================================
 * Desktop floating tools (right side)
 * ======================================================================== */
.floating-tools {
    display: none;
}

@media (min-width: 1081px) {
    .floating-tools {
        position: fixed;
        right: max(clamp(20px, 1.5625vw, 30px), calc((100vw - 1920px) / 2 + 30px));
        top: 55%;
        z-index: 260;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        width: clamp(56px, 5.21vw, 100px);
        padding: clamp(11px, 1.04vw, 20px) 0;
        background: #fff;
        border: 1px solid rgba(4, 79, 246, 0.08);
        border-radius: clamp(11px, 1.04vw, 20px);
        box-shadow: 6px 0 12px 0 rgba(167, 175, 210, 0.5);
        transform: translateY(-42%);
        align-items: center;
    }

    .floating-tool-item {
        position: relative;
        width: 100%;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .floating-tool-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        /* width: 64px; */
        width: 100%;
        /* min-height: 58px; */
        /* padding: 8px 6px; */
        color: #687894;
        text-align: center;
        text-decoration: none;
        box-sizing: border-box;
        transition: background .16s ease, color .16s ease;
    }

    .floating-tool-link:hover,
    .floating-tool-link:focus-visible {
        color: #044FF6;
        outline: none;
    }

    .floating-tool-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: clamp(24px, 2.19vw, 42px);
        height: clamp(24px, 2.19vw, 42px);
        color: #2f67ff;
    }

    .floating-tool-icon svg {
        width: 100%;
        height: 100%;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .floating-tool-label {
        display: block;
        width: 100%;
        color: #7F879F;
        font-size: clamp(9px, 0.83vw, 16px);
        font-weight: 400;
        line-height: 1.2;
        letter-spacing: 0;
        white-space: normal;
        margin-top: 6px;
        width: 100%;
    }

    .floating-tool-link:not(.floating-tool-top)::after {
        content: "";
        display: block;
        align-self: center;
        width: clamp(40px, 3.7vw, 71px);
        height: clamp(1px, 0.1vw, 2px);
        margin: clamp(5px, 0.47vw, 9px) 0 clamp(12px, 1.09vw, 21px);
        background: #E5E5E5;
        flex: 0 0 auto;
    }

    .floating-tool-top {
        /* min-height: 48px; */
        /* padding-top: 10px; */
        /* padding-bottom: 10px; */
    }

    .floating-tool-top .floating-tool-icon {
        width: clamp(24px, 2.19vw, 42px);
        height: clamp(24px, 2.19vw, 42px);
    }

    .floating-tools-qr-card {
        position: absolute;
        top: calc(-1 * clamp(16px, 1.46vw, 28px));
        right: calc(100% + 22px);
        display: flex;
        flex-direction: column;
        width: clamp(112px, 10.36vw, 199px);
        /* height: clamp(119.1px, 11.021vw, 211.6px); */
        padding: clamp(3px, 0.26vw, 5px) clamp(3px, 0.26vw, 5px) clamp(6px, 0.57vw, 11px) clamp(3px, 0.26vw, 5px);
        color: #7F879F;
        background: #FFF;
        border-radius: clamp(7px, 0.63vw, 12px);
        box-shadow: 0 12px 30px rgba(32, 77, 160, 0.18);
        box-sizing: border-box;
        opacity: 0;
        pointer-events: none;
        transform: translateX(8px);
        transition: opacity .16s ease, transform .16s ease;
    }

    .floating-tools-qr-card::after {
        content: "";
        position: absolute;
        top: 48px;
        right: -6px;
        width: 14px;
        height: 14px;
        background: #fff;
        box-shadow: 4px -4px 12px rgba(32, 77, 160, 0.05);
        transform: rotate(45deg);
    }

    .floating-tool-item-app:hover .floating-tools-qr-card,
    .floating-tool-item-app:focus-within .floating-tools-qr-card {
        opacity: 1;
        transform: translateX(0);
    }

    .floating-tools-qr-image {
        position: relative;
        flex: 1 1 auto;
        width: 100%;
        min-height: 0;
        margin: 0 auto;
        overflow: hidden;
        background: #f6f8ff;
        border-radius: 6px;
    }

    .floating-tools-qr-image::before {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        border: 1px dashed rgba(4, 79, 246, 0.32);
        border-radius: 6px;
        box-sizing: border-box;
    }

    .floating-tools-qr-image:has(img[src]:not([src=""]))::before {
        display: none;
    }

    .floating-tools-qr-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .floating-tools-qr-image img:not([src]),
    .floating-tools-qr-image img[src=""] {
        display: none;
    }

    .floating-tools-qr-text {
        display: block;
        flex: 0 0 auto;
        margin-top: clamp(5px, 0.42vw, 8px);
        color: #7F879F;
        font-size: clamp(9px, 0.83vw, 16px);
        line-height: 1.25;
        text-align: center;
        letter-spacing: 0;
    }

    .floating-tools-qr-text em {
        color: #3574FF;
        font-style: normal;
    }
}
