
.rbd-page {
    --rbd-blue: #1a5fd8;
    --rbd-btn: #1c6fef;
    --rbd-text: #333;
    --rbd-line: #dbeefb;

    color: var(--rbd-text);
    background: #fff;
    font-family: var(--font-normal);
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
}

.rbd-page *,
.rbd-page *::before,
.rbd-page *::after { box-sizing: border-box; }

.rbd-page :where(p, h1, h2, h3, h4) { margin: 0; }

.rbd-page h1,
.rbd-page h2,
.rbd-page h3 {
    color: var(--rbd-text);
    font-family: var(--font-bold);
    font-weight: 700;
}

.rbd-page img { display: block; max-width: 100%; }

.rbd-container { width: 1200px; margin: 0 auto; }

.rbd-section-title {
    font-size: 36px;
    line-height: 50px;
    text-align: center;
}

/* 首屏 banner：宽度始终 100vw，锁定 1920 × 634 设计比例，整段等比缩放 */
.rbd-hero {
    position: relative;
    overflow: hidden;
    background: #0a3ea8;
    width: 100%;
    container-type: inline-size;
    min-height: calc(100vw * 634 / 1920);
    height: auto;
}

.rbd-hero > * {
    --cqw-length: 100cqw; /* 先按容器宽度解析成 px 再进 atan2，避免部分浏览器跨单位返回 0 */
    --hero-scale: tan(atan2(var(--cqw-length), 1920px)); /* hero 实际宽度 / 1920 */
    zoom: var(--hero-scale);
}

.rbd-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center top;
}

.rbd-hero-inner {
    position: relative;
    width: 1080px;
    height: 100%;
    margin: 0 auto;
    padding-top: 117px;
}

.rbd-page .rbd-hero-title {
    color: #fff;
    font-size: 62px;
    line-height: 76px;
}

.rbd-page .rbd-hero-desc {
    margin-top: 38px;
    color: #fff;
    font-size: 26px;
    line-height: 36px;
}

.rbd-hero-btn {
    display: inline-flex;
    width: 213px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-top: 42px;
    color: #1a5fd8;
    font-family: var(--font-medium);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    background: #fff;
    border-radius: 6px;
    transition: box-shadow .25s ease, transform .25s ease;
}

.rbd-hero-btn:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    transform: translateY(-1px);
}

.rbd-concept { padding: 65px 0 109px; }

.rbd-purpose { padding: 0 0 0; }

.rbd-split {
    display: flex;
    margin-top: 50px;
}

.rbd-split-media { flex: 0 0 auto; margin: 0; }

.rbd-split-media--icon { width: 265px; margin-left: 133px; }

.rbd-split-media--icon img { width: 265px; height: 265px; }

.rbd-split-media--ill { width: 420px; margin-left: 0; margin-top: -22px; }

.rbd-split-media--ill img { width: 420px; height: 328px; }

.rbd-split-copy {
    width: 612px;
    margin-left: 96px;
    margin-top: 22px;
    font-size: 20px;
    line-height: 36px;
}

.rbd-split-copy--list { margin-top: 60px; }

.rbd-split-copy--list p + p { margin-top: 0; }

.rbd-scene {
    padding: 64px 0 40px;
    background: #eff4fc url("../images/scene-bg.png") center top / 100% 403px no-repeat;
}

.rbd-scene-grid {
    display: grid;
    grid-template-columns: repeat(2, 575px);
    gap: 37px;
    justify-content: center;
    margin-top: 60px;
}

.rbd-scene-card {
    height: 163px;
    padding: 50px 33px 0;
    background: linear-gradient(-3deg, #FEFFFE, #ECF7FD);
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.rbd-page .rbd-scene-name {
    font-size: 30px;
    line-height: 32px;
}

.rbd-scene-text {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
}

.rbd-red { padding: 0 0 84px; }

.rbd-red-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 72px;
}

.rbd-red-card {
    height: 261px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d6eafb;
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.rbd-page .rbd-red-name {
    display: flex;
    height: 58px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    color: #fff;
    font-weight: 600;
    font-size: 28px;
    line-height: 1;
    text-align: center;
    background: var(--rbd-blue);
}

.rbd-red-body {
    position: relative;
    height: 201px;
    padding: 14px 20px 0;
}

.rbd-red-text {
    position: relative;
    z-index: 2;
    color: #333;
    font-size: 20px;
    line-height: 24px;
}

.rbd-red-icon {
    position: absolute;
    right: 24px;
    bottom: 10px;
    width: 86px;
    height: 86px;
}

.rbd-blue {
    padding: 55px 0 207px;
    background: #fff url("../images/blue-bg.png") center top / 100% 681px no-repeat;
}

.rbd-page .rbd-blue .rbd-section-title { color: #fff; }

.rbd-blue-grid {
    display: grid;
    grid-template-columns: repeat(2, 490px);
    gap: 24px 30px;
    justify-content: center;
    margin-top: 46px;
}

.rbd-blue-card {
    height: 190px;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--common-box-shadow);
}

.rbd-page .rbd-blue-name {
    display: flex;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    background: #1f66e0;
}

.rbd-blue-text {
    padding: 16px 24px 0;
    font-size: 20px;
    line-height: 24px;
    color: #333333;
}

.rbd-flow { padding: 0 0 172px; }

.rbd-flow-panel {
    width: 1114px;
    height: 311px;
    margin: 87px auto 0;
    overflow: hidden;
    background: #fff url("../images/panel-flow.png") center top / 1114px 311px no-repeat;
    border: 1px solid #e2f0fb;
    border-radius: 10px;
}

.rbd-flow-grid {
    display: flex;
    margin-left: -30px;
    padding-top: 54px;
}

.rbd-flow-step {
    position: relative;
    display: flex;
    flex: 0 0 234px;
    flex-direction: column;
    align-items: center;
}

.rbd-flow-no {
    display: flex;
    width: 115px;
    height: 115px;
    align-items: center;
    justify-content: center;
    flex: 0 0 115px;
    color: #1b5bd7;
    font-family: var(--font-bold);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(205deg, #1a5ed2 10%, #d6e6fb 92%) border-box;
    border: 5px solid transparent;
    border-radius: 50%;
}

.rbd-flow-step:not(:last-child)::after {
    position: absolute;
    top: 57px;
    left: calc(50% + 60px);
    width: 115px;
    height: 22px;
    margin-top: -11px;
    content: "";
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='22' viewBox='0 0 160 22' preserveAspectRatio='none'%3E%3Cpath d='M0 11h128' stroke='%232f6fef' stroke-width='7'/%3E%3Cpath d='M126 1l30 10-30 10z' fill='%232f6fef'/%3E%3C/svg%3E") center / 100% 22px no-repeat;
    pointer-events: none;
}

.rbd-page .rbd-flow-name {
    max-width: 146px;
    margin: 11px 0 0;
    font-size: 30px;
    line-height: 38px;
    text-align: center;
}

.rbd-gain { padding: 0 0 75px; }

.rbd-gain-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
    margin-top: 80px;
}

.rbd-gain-card {
    height: 317px;
    padding: 19px 28px 0;
    text-align: center;
    background: #fff;
    border: 1px solid var(--rbd-line);
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.rbd-gain-icon { width: 154px;  margin: 0 auto; }

.rbd-page .rbd-gain-name {
    margin-top: 10px;
    font-size: 30px;
    line-height: 24px;
}

.rbd-gain-text {
    color: #666666;
    margin-top: 14px;
    font-size: 20px;
    line-height: 24px;
    text-align: left;
}

.rbd-advantage { padding: 0 0 88px; }

.rbd-advantage-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 17px 19px;
    justify-content: center;
    margin-top: 80px;
}

.rbd-advantage-card {
    width: 387px;
    height: 333px;
    padding: 0 28px 0;
    text-align: center;
    background: #fff;
    border: 1px solid var(--rbd-line);
    border-radius: 10px;
    box-shadow: var(--common-box-shadow);
}

.rbd-advantage-icon { width: 130px; height: 130px; margin: 0 auto; }

.rbd-page .rbd-advantage-name {
    margin-top: 14px;
    color: #333333;
    font-size: 32px;
    line-height: 24px;
}

.rbd-advantage-text {
    margin-top: 19px;
    font-size: 20px;
    line-height: 24px;
    color: #666666;

}

@media (max-width: 1248px) {
    .rbd-container { width: auto; max-width: calc(100% - 48px); }

    .rbd-split-media--icon { margin-left: 0; }

    .rbd-split-media--ill { width: 340px; }

    .rbd-split-media--ill img { width: 340px; height: auto; }

    .rbd-split-copy { width: auto; flex: 1; margin-left: 40px; }

    .rbd-scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .rbd-blue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .rbd-flow-panel { width: auto; max-width: 100%; height: auto; background-size: 100% auto; }

    .rbd-flow-grid { margin-left: 0; padding: 40px 10px; }

    .rbd-flow-step { flex: 1 1 0; }
}

@media (max-width: 1100px) {
    .rbd-page { font-size: 16px; }

    .rbd-section-title { font-size: 32px; line-height: 46px; }

    .rbd-concept { padding: 56px 0 60px; }

    .rbd-split { margin-top: 36px; }

    .rbd-split-media--icon { width: 200px; }

    .rbd-split-media--icon img { width: 200px; height: 200px; }

    .rbd-split-copy { margin-left: 30px; font-size: 17px; line-height: 30px; }

    .rbd-split-copy--list { margin-top: 20px; }

    .rbd-scene { padding: 60px 0 50px; }

    .rbd-scene-grid { margin-top: 40px; }

    .rbd-scene-card { height: auto; padding: 34px 30px; }

    .rbd-page .rbd-scene-name { font-size: 24px; line-height: 34px; }

    .rbd-scene-text { font-size: 17px; line-height: 30px; }

    .rbd-red { padding: 60px 0 60px; }

    .rbd-red-grid { gap: 16px; margin-top: 44px; }

    .rbd-red-card { height: auto; }

    .rbd-page .rbd-red-name { height: 52px; font-size: 18px; }

    .rbd-red-body { height: auto; padding: 14px 16px 16px; }

    .rbd-red-text { font-size: 16px; line-height: 28px; }

    .rbd-red-icon { position: static; margin: 10px 0 0 auto; width: 70px; height: 70px; }

    .rbd-blue { padding: 52px 0 50px; }

    .rbd-blue-grid { gap: 18px; margin-top: 36px; }

    .rbd-blue-card { height: auto; }

    .rbd-page .rbd-blue-name { height: 50px; font-size: 22px; }

    .rbd-blue-text { font-size: 16px; line-height: 28px; }

    .rbd-flow { padding: 60px 0 50px; }

    .rbd-flow-no { width: 84px; height: 84px; flex-basis: 84px; border-width: 4px; font-size: 26px; }

    .rbd-flow-step:not(:last-child)::after { top: 42px; left: calc(50% + 44px); width: calc(100% - 88px); }

    .rbd-page .rbd-flow-name { font-size: 20px; }

    .rbd-gain { padding: 56px 0 60px; }

    .rbd-gain-grid { margin-top: 44px; gap: 16px; }

    .rbd-gain-card { height: auto; padding: 26px 20px; }

    .rbd-gain-icon { width: 92px; }

    .rbd-page .rbd-gain-name { font-size: 22px; }

    .rbd-gain-text { font-size: 16px; line-height: 28px; }

    .rbd-advantage { padding-bottom: 60px; }

    .rbd-advantage-grid { margin-top: 44px; gap: 16px; }

    .rbd-advantage-card { width: 340px; height: auto; padding: 26px 20px; }

    .rbd-advantage-icon { width: 96px; height: 88px; }

    .rbd-page .rbd-advantage-name { font-size: 22px; }

    .rbd-advantage-text { font-size: 16px; line-height: 28px; }
}

@media (max-width: 980px) {
    .rbd-split { flex-direction: column; }

    .rbd-split-media--icon { margin: 0 auto; }

    .rbd-split-media--ill { width: 100%; max-width: 420px; margin: 0 auto; }

    .rbd-split-media--ill img { width: 100%; }

    .rbd-split-copy { margin: 24px 0 0; }

    .rbd-scene-grid { grid-template-columns: 1fr; }

    .rbd-red-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .rbd-blue-grid { grid-template-columns: 1fr; }

    .rbd-gain-grid { grid-template-columns: 1fr; }

    .rbd-advantage-card { width: 100%; }
}

@media (max-width: 760px) {
    .rbd-section-title { font-size: 24px; line-height: 36px; }

    .rbd-page .rbd-scene-name { font-size: 20px; }

    .rbd-scene-text { font-size: 15px; line-height: 26px; }

    .rbd-red-grid { grid-template-columns: 1fr; }

    .rbd-page .rbd-red-name { font-size: 17px; }

    .rbd-red-text { font-size: 15px; line-height: 26px; }

    .rbd-page .rbd-blue-name { font-size: 19px; }

    .rbd-blue-text { font-size: 15px; line-height: 26px; }

    .rbd-flow-grid { flex-wrap: wrap; gap: 24px 0; padding: 24px 0; }

    .rbd-flow-step { flex: 0 0 50%; width: auto; }

    .rbd-flow-step:not(:last-child)::after,
    .rbd-flow-step:not(:last-child)::before { content: none; }

    .rbd-page .rbd-flow-name { font-size: 17px; }

    .rbd-gain-card { padding: 22px 16px; }

    .rbd-page .rbd-gain-name { font-size: 20px; }

    .rbd-gain-text { font-size: 15px; line-height: 26px; }

    .rbd-advantage-card { padding: 22px 16px; }

    .rbd-page .rbd-advantage-name { font-size: 20px; }

    .rbd-advantage-text { font-size: 15px; line-height: 26px; }
}

@media (max-width: 600px) {
    .rbd-container { max-width: calc(100% - 32px); }

    .rbd-section-title { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    .rbd-hero-btn { transition: none; }
}

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

    .rbd-page .rbd-hero-desc {
        font-size: calc(26px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(36px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

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