

.tst-page {
    background: #fff;
}

.tst-page .tst-title {
    margin: 0;
    font-family: var(--font-bold);
    font-size: 36px;
    font-weight: 700;
    line-height: 50px;
    letter-spacing: .5px;
    color: #111827;
    text-align: center;
}
.tst-page .tst-subtitle {
    margin: 12px 0 0;
    font-size: 18px;
    line-height: 26px;
    color: #666;
    text-align: center;
}

.tst-page .tst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    height: 40px;
    padding: 0 34px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #1C4EDE, #1F92F8);
    font-family: var(--font-medium);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    box-shadow: 0 8px 20px rgba(28, 78, 222, .24);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    cursor: pointer;
}
.tst-page .tst-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(28, 78, 222, .3);
    color: #fff;
}

/* 首屏 banner：宽度始终 100vw，锁定 1920 × 635 设计比例，整段等比缩放 */
.tst-hero {
    position: relative;
    overflow: hidden;
    background: #dfeafc;
    width: 100%;
    container-type: inline-size;
    min-height: calc(100vw * 635 / 1920);
    height: auto;
}
.tst-hero > * {
    --cqw-length: 100cqw; /* 先按容器宽度解析成 px 再进 atan2，避免部分浏览器跨单位返回 0 */
    --hero-scale: tan(atan2(var(--cqw-length), 1920px)); /* hero 实际宽度 / 1920 */
    zoom: var(--hero-scale);
}
.tst-hero-slide {
    position: relative;
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
}

.tst-hero-slide::before {
    content: "";
    display: block;
    padding-top: 33.04%;
}
.tst-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tst-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.tst-hero-copy {
    max-width: 900px;

    padding: 104px 0 0 35px;
}
.tst-hero-title {
    margin: 0;
    font-family: var(--font-bold);
    font-size: 60px;
    font-weight: 700;
    line-height: 72px;
    color: #000;
    letter-spacing: 0;
}
.tst-hero-body {
    max-width: 712px;
    margin-top: 55px;
}
.tst-hero-body p {
    margin: 0;
    font-family: var(--font-normal);
    font-size: 26px;
    font-weight: 400;
    line-height: 41px;
    color: #333;
}
.tst-hero-body p + p {
    margin-top: 6px;
}

.tst-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 41px 0 0;
    padding: 0;
    list-style: none;
}
.tst-hero-tag {
    display: flex;
    height: 50px;
    padding: 0 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #8fb2d9;
    border-radius: 8px;
    background: rgba(255, 255, 255, .05);
    font-size: 22px;
    line-height: 1;
    color: #333;
    white-space: nowrap;
}

.tst-hero-btn {
    display: inline-flex;
    width: 215px;
    height: 55px;
    align-items: center;
    justify-content: center;
    margin-top: 33px;
    padding: 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #1C4EDE, #1F92F8);
    font-family: var(--font-medium);
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 8px 22px rgba(28, 78, 222, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.tst-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(28, 78, 222, .36);
    color: #fff;
}

.tst-intro {
    padding: 68px 0 0;
    background: #ddeeff url("../images/intro-swirl-bg.png") center top / 100% auto no-repeat;
}
.tst-intro .tst-title {
    margin-bottom: 21px;
}
.tst-intro-card {
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
    padding: 33px 40px 29px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 18px 46px -28px rgba(31, 102, 229, .4);
    text-align: center;
    box-sizing: border-box;
}
.tst-intro-logos {
    display: block;
    width: 289px;
    max-width: 70%;
    height: auto;
    margin: 0 auto 16px;
}
.tst-intro-lead {
    max-width: 820px;
    margin: 0 auto 19px;
    font-family: var(--font-normal);
    font-size: 20px;
    line-height: 32px;
    color: #333;
}
.tst-pills {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.tst-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 26px;
    border-radius: 999px;
    background: #74b7fb;
    font-family: var(--font-normal);
    font-size: 18px;
    line-height: 1;
    color: #fff;
}
.tst-pill img {
    width: 20px;
    height: 20px;
    flex: none;
}

.tst-stats {
    margin-top: 128px;
    padding: 0 24px 29px;
    text-align: center;
}
.tst-stats img {
    display: block;
    width: 772px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.tst-section {
    padding: 72px 0 60px;
    background: #fff;
}
.tst-scope {
    padding: 76px 0 76px;
}
.tst-scope .tst-title {
    margin-bottom: 62px;
}
.tst-scope-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 20px;
}

.tst-scope-card {
    height: 208px;
    overflow: hidden;
    background: #fff url("../images/scope-card-bg.png") center / 100% 100% no-repeat;
}
.tst-scope-head {
    display: flex;
    height: 57px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 10px 10px 0 0;
    background: #0659d5;
    font-family: var(--font-bold);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}
.tst-scope-body {
    height: 151px;
    padding: 16px 24px 0;
    text-align: center;
}
.tst-scope-desc {
    margin: 0;
    font-family: var(--font-normal);
    font-size: 18px;
    line-height: 32px;
    color: #333;
}
.tst-scope-report {
    margin: 31px 0 0;
    font-family: var(--font-medium);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    color: #0b5fd8;
    white-space: nowrap;
}
.tst-scope-report::before,
.tst-scope-report::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 10px;
    background: currentColor;
    transform: rotate(45deg);
    vertical-align: middle;
}

.tst-page .tst-scope .u-consult-wrap {
    margin-top: 71px;
}
.tst-page .u-consult {
    width: 630px;
    height: 62px;
    border-color: #dbe7f7;
    border-radius: 6px;
}
.tst-page .u-consult-main {
    min-width: 423px;
    padding: 0 0 0 40px;
    flex: 0 1 auto;
    justify-content: flex-start;
}
.tst-page .u-consult-label {
    font-family: var(--font-normal);
    font-size: 17px;
    color: #333;
}
.tst-page .u-consult-phone {
    font-family: var(--font-bold);
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    letter-spacing: .5px;
}
.tst-page .u-consult-btn {
    width: 207px;
    background: linear-gradient(90deg, #1C4EDE, #1F92F8);
    font-size: 22px;
}
.tst-page .u-consult-btn:hover {
    background: linear-gradient(90deg, #1745c9, #1985e6);
}

.tst-auth {
    background: #eaf3ff url("../images/authorization-ripple-bg.png") center / cover no-repeat;
}
.tst-auth-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 337px;
    padding: 56px 24px 0;
    text-align: center;
    box-sizing: border-box;
}
.tst-auth-logos {
    display: block;
    width: 322px;
    max-width: 80%;
    height: auto;
    margin-bottom: 18px;
}
.tst-auth-text {
    margin: 0 0 29px;
    font-family: var(--font-normal);
    font-size: 35px;
    line-height: 49px;
    color: #333;
    letter-spacing: .5px;
}

.tst-page .tst-auth .tst-btn {
    width: 147px;
    min-width: 0;
    height: 44px;
    padding: 0;
    border-radius: 22px;
    font-size: 18px;
}

.tst-flow {
    padding: 76px 0 0;
}
.tst-flow .tst-title {
    margin-bottom: 5px;
}
.tst-flow .tst-subtitle {
    margin: 5px 0 54px;
}
.tst-flow-card {
    height: 356px;
    padding: 52px 0 0;
    background: #fff url("../images/flow-card-dots.png") center bottom / 100% 100% no-repeat;
    border: 1px solid #dbe7f7;
    border-radius: 8px;
    box-shadow: 0 14px 40px -30px rgba(31, 102, 229, .55);
    box-sizing: border-box;
}
.tst-flow-list {
    display: flex;
    align-items: flex-start;
    width: 1114px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.tst-flow-step {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.tst-flow-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 115px;
    height: 115px;
    padding: 0;
    border: 4px solid transparent;
    border-radius: 50%;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(220deg, #1863EC, #DBE9FC) border-box;
    font-family: var(--font-bold);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #1b5fd8;
}
.tst-flow-label {
    margin: 14px 0 0;
    font-family: var(--font-medium);
    font-size: 24px;
    font-weight: 500;
    line-height: 34px;
    color: #111827;
    text-align: center;
    white-space: nowrap;
}
.tst-flow-desc {
    max-width: 150px;
    margin: 20px 0 0;
    font-family: var(--font-normal);
    font-size: 16px;
    line-height: 30px;
    color: #4b5563;
    text-align: center;
}

.tst-flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 46px;
    left: calc(50% + 58px);
    width: 106px;
    height: 22px;
    background: url("../images/flow-arrow.png") center / 100% 100% no-repeat;
    pointer-events: none;
}

.tst-page .tst-btn.tst-btn-wide {
    display: flex;
    width: 541px;
    max-width: 100%;
    height: 50px;
    margin: 50px auto 0;
    font-size: 20px;
}

.tst-advantage {
    padding: 76px 0 71px;
}
.tst-advantage .tst-subtitle {
    margin: 5px 0 52px;
}
.tst-adv-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.tst-adv-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 254px;
    padding: 64px 20px 0;
    background: #fff url("../images/feature-card-bg.png") center top / 100% 100% no-repeat;
    text-align: center;
    box-sizing: border-box;
}
.tst-adv-card h3 {
    margin: 0 0 22px;
    font-family: var(--font-bold);
    font-size: 30px;
    font-weight: 700;
    line-height: 42px;
    color: #1f2937;
}
.tst-adv-card p {
    margin: 0;
    font-family: var(--font-normal);
    font-size: 20px;
    line-height: 32px;
    color: #333;
}
.tst-adv-wide {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.tst-adv-card-lg {
    height: 234px;
    padding: 59px 24px 50px;
    background: #fff url("../images/advantage-wide-bg.png") center top / 100% 100% no-repeat;
    justify-content: flex-start;
}
.tst-adv-card-lg h3 {
    max-width: 450px;
    margin: 0 auto;
    font-size: 30px;
    line-height: 42px;
}
.tst-adv-card-lg p {
    margin-top: auto;
    font-size: 16px;
    line-height: 28px;
    color: #4b5563;
}

.tst-team {
    background: #2388fa url("../images/team-stripe-bg.png") center / cover no-repeat;
}
.tst-team-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 201px;
    padding: 0 24px;
    text-align: center;
    box-sizing: border-box;
}
.tst-team-text {
    margin: 0 0 18px;
    font-family: var(--font-medium);
    font-size: 34px;
    font-weight: 500;
    line-height: 48px;
    color: #fff;
    letter-spacing: .5px;
}

.tst-page .tst-btn.tst-btn-ghost {
    width: 148px;
    height: 39px;
    min-width: 0;
    padding: 0;
    border: 1px solid #FFFFFF;
    border-radius: 19px;
    background: transparent;
    box-shadow: none;
    font-weight: 500;
    font-size: 18px;
    color: #FFFFFF;
}
.tst-page .tst-btn.tst-btn-ghost:hover {
    background: rgba(255, 255, 255, .16);
    box-shadow: none;
    color: #FFFFFF;
}

.tst-reports {
    padding: 77px 0 68px;
}
.tst-reports .tst-subtitle {
    margin: 2px 0 58px;
}
.tst-report-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 21px;
}
.tst-report-card {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
}
.tst-report-card img {
    display: block;
    width: 100%;
    height: auto;
}

.tst-page .section-partners {
    padding-top: 76px !important;
    padding-bottom: 88px !important;
}
.tst-page .section-partners .section-head h2 {
    font-family: var(--font-bold);
    font-size: 36px;
    font-weight: 700;
    line-height: 50px;
}

@media (max-width: 1440px) {
    .tst-page .tst-title { font-size: 32px; line-height: 44px; }

    .tst-scope { padding-top: 60px; padding-bottom: 60px; }
    .tst-scope .tst-title { margin-bottom: 44px; }
    .tst-scope-head { font-size: 22px; }
    .tst-scope-card { height: 200px; }
    .tst-scope-body { height: 143px; padding-top: 14px; }
    .tst-scope-desc { font-size: 16px; line-height: 29px; }
    .tst-scope-report { margin-top: 18px; font-size: 18px; }
    .tst-auth-text { font-size: 28px; line-height: 40px; }
    .tst-auth-inner { min-height: 300px; padding-top: 46px; }
    .tst-flow { padding-top: 60px; padding-bottom: 60px; }
    .tst-flow-label { font-size: 21px; }
    .tst-flow-num { width: 96px; height: 96px; font-size: 34px; }
    .tst-flow-step:not(:last-child)::after { top: 38px; left: calc(50% + 48px); width: 84px; height: 19px; }
    .tst-flow-desc { font-size: 14px; line-height: 26px; margin-top: 16px; }
    .tst-flow-card { height: 320px; padding-top: 44px; }
    .tst-adv-card { height: auto; min-height: 254px; padding-top: 52px; }
    .tst-adv-card h3 { font-size: 26px; line-height: 36px; }
    .tst-adv-card p { font-size: 18px; line-height: 30px; }
    .tst-adv-card-lg { min-height: 214px; height: auto; padding: 47px 24px 40px; }
    .tst-team-text { font-size: 28px; line-height: 40px; }
    .tst-team-inner { min-height: 178px; }
}

@media (max-width: 1024px) {
    .tst-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tst-adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tst-report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tst-adv-wide { grid-template-columns: 1fr; }

    .tst-flow-list { flex-wrap: wrap; gap: 34px 0; }
    .tst-flow-step { flex: 0 0 33.333%; }
    .tst-flow-step:not(:last-child)::after { display: none; }
    .tst-flow-card { height: auto; padding: 36px 20px 42px; background-size: 100% auto; }
}

@media (max-width: 980px) {
    .tst-intro-card { padding: 26px 22px 32px; }
    .tst-intro-lead { font-size: 18px; }
    .tst-pills { gap: 14px; }
    .tst-pill { height: 36px; padding: 0 20px; font-size: 16px; }
    .tst-stats { margin-top: 60px; }

    .tst-page .u-consult { width: 100%; height: auto; border-radius: 10px; }
}

@media (max-width: 768px) {
    .tst-page .tst-title { font-size: 26px; line-height: 38px; }
    .tst-page .tst-subtitle { font-size: 15px; line-height: 24px; margin-bottom: 28px; }
    .tst-section { padding: 46px 0 40px; }
    .tst-scope { padding-top: 46px; padding-bottom: 46px; }
    .tst-scope-grid,
    .tst-adv-grid,
    .tst-report-grid { grid-template-columns: 1fr; gap: 14px; }
    .tst-scope .tst-title { margin-bottom: 30px; }
    .tst-scope-card { height: auto; }
    .tst-scope-head { height: 52px; font-size: 19px; }
    .tst-scope-body { height: auto; min-height: 151px; padding: 16px 18px 24px; }
    .tst-page .tst-scope .u-consult-wrap { margin-top: 36px; }
    .tst-page .u-consult-main { min-width: 0; padding: 14px 16px; justify-content: center; }
    .tst-page .u-consult-btn { width: 100%; height: 46px; font-size: 18px; }

    .tst-auth-inner { min-height: 220px; padding: 32px 20px 36px; }
    .tst-auth-logos { width: 240px; }
    .tst-auth-text { font-size: 20px; line-height: 30px; margin-bottom: 20px; }

    .tst-flow { padding: 46px 0 40px; }
    .tst-flow-step { flex: 0 0 50%; }
    .tst-flow-label { font-size: 18px; margin-top: 14px; }
    .tst-flow-num { width: 84px; height: 84px; font-size: 28px; }
    .tst-flow-desc { font-size: 13px; line-height: 24px; }
    .tst-page .tst-btn.tst-btn-wide { height: 44px; margin-top: 32px; font-size: 18px; }

    .tst-adv-card { height: auto; min-height: 0; padding: 30px 20px 26px; }
    .tst-adv-card h3 { font-size: 21px; line-height: 30px; margin-bottom: 12px; }
    .tst-adv-card p { font-size: 15px; line-height: 26px; }
    .tst-adv-card-lg { min-height: 0; padding: 30px 20px 26px; }
    .tst-adv-card-lg h3 { font-size: 22px; line-height: 32px; }
    .tst-adv-card-lg p { margin-top: 14px; font-size: 14px; }

    .tst-team-inner { min-height: 150px; padding: 28px 20px 30px; }
    .tst-team-text { font-size: 20px; line-height: 30px; margin-bottom: 12px; }
    .tst-page .tst-btn.tst-btn-ghost { height: 36px; border-radius: 18px; font-size: 16px; }

    .tst-reports { padding: 46px 0 40px; }
    .tst-reports .tst-subtitle { margin-bottom: 28px; }
    .tst-report-grid { max-width: 460px; margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
    .tst-page .tst-btn,
    .tst-hero-btn {
        transition: none;
        transform: none;
    }
}

/* 桌面/平板：首屏文案比例系数 = max(--hero-typo 断点档位, 首屏缩放比)。
   视口 ≤ 1920 时取断点档位（小屏字号比设计值略大，避免字太小）；
   > 1920（宽屏 / 浏览器缩小页面）时跟着首屏等比放大，滚轮缩放时比例保持不变。 */
@media (min-width: 1024px) {
    .tst-hero-title {
        font-size: calc(60px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(72px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .tst-hero-body p {
        font-size: calc(26px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(41px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .tst-hero-tag {
        font-size: calc(22px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .tst-hero-btn {
        font-size: calc(24px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }
}
