/* 全站共用：颜色、版心、标题和卡片底。各区块样式不要写到这里。 */

:root {
    --bg: #f5f7fb;
    --ink: #141a26;
    --muted: #5d6880;
    --line: #e4e9f2;
    --card: #ffffff;
    --blue: #3b6cff;
    --violet: #7a5cff;
    --teal: #12b5a8;
    --header-h: 3.5rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
    margin: 0;
    background:
        radial-gradient(900px 420px at 10% -10%, rgba(59, 108, 255, 0.16), transparent 60%),
        radial-gradient(700px 380px at 100% 0%, rgba(122, 92, 255, 0.14), transparent 55%),
        var(--bg);
    color: var(--ink);
    font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

a {
    color: inherit;
}

.wrap {
    width: min(1120px, calc(100% - 3rem));
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.block {
    padding: 1.25rem 0;
}

.section-head {
    margin-bottom: 0.7rem;
}

.section-head p {
    max-width: 40rem;
    margin: 0.35rem 0 0;
    color: var(--muted);
}

h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

/* 手机边距略收，区块上下留白减小。平板仍用上面的桌面间距。 */
@media (max-width: 639px) {
    .wrap {
        width: min(1120px, calc(100% - 2rem));
    }

    .block {
        padding: 1rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .glow-a,
    .glow-b,
    .glow-c,
    .button,
    .ability-list li,
    .case-list li,
    .nav,
    .nav-bars span {
        animation: none;
        transition: none;
    }
}

/* 顶栏 */

.site-header {
    position: sticky;
    top: 0;
    z-index: 3;
    height: auto;
    min-height: var(--header-h);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(20, 26, 38, 0.06);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: var(--header-h);
    height: auto;
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-en {
    background: linear-gradient(100deg, var(--blue), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.brand-cn {
    color: var(--muted);
    font-size: 0.86rem;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem;
}

.nav a {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
    background: #eef2ff;
    color: var(--blue);
}

/* 宽屏不显示。窄屏是三道杠，打开后收成关闭。 */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    padding: 0;
    border: 1px solid #d5def2;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    flex: none;
}

.nav-bars {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 0.95rem;
    height: 0.68rem;
}

.nav-bars span {
    display: block;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.site-header.is-open .nav-bars span:nth-child(1) {
    transform: translateY(4.6px) rotate(45deg);
}

.site-header.is-open .nav-bars span:nth-child(2) {
    opacity: 0;
}

.site-header.is-open .nav-bars span:nth-child(3) {
    transform: translateY(-4.6px) rotate(-45deg);
}

/* 窄屏：一行品牌加按钮。菜单盖在内容上，不把页面往下顶，展开时不用重排整页。 */
@media (max-width: 900px) {
    .header-inner {
        flex-wrap: nowrap;
        gap: 0.5rem 0.75rem;
    }

    .brand {
        flex: 1 1 auto;
        gap: 0.4rem;
        min-width: 0;
    }

    /* 窄屏仍保留中文全称，字号收小，避免把菜单按钮挤到下一行。 */
    .brand-cn {
        display: inline;
        overflow: hidden;
        font-size: 0.72rem;
        letter-spacing: 0.01em;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* 只做透明度和位移。高度动画会带动整页重排，展开和收起都会顿一下。 */
    .nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 4;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin: 0;
        padding: 0.35rem 1rem 0.55rem;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(20, 26, 38, 0.06);
        box-shadow: 0 14px 28px rgba(20, 26, 38, 0.06);
        transform: translateY(-0.35rem);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
    }

    .site-header.is-open .nav {
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s;
    }

    .nav a {
        padding: 0.55rem 0.7rem;
    }
}

/* 首屏和按钮 */

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
}

.glow-a,
.glow-b,
.glow-c {
    animation: float 9s ease-in-out infinite;
}

.glow-a {
    top: -80px;
    right: 8%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(59, 108, 255, 0.45), transparent 68%);
}

.glow-b {
    bottom: -120px;
    left: -40px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(122, 92, 255, 0.38), transparent 68%);
    animation-delay: -3s;
}

.glow-c {
    top: 40px;
    left: 42%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(18, 181, 168, 0.35), transparent 68%);
    animation-delay: -6s;
}

/* 淡网格缓慢平移，给光晕一层科技底。 */
.hero-grid {
    position: absolute;
    inset: -20% 0;
    background-image:
        linear-gradient(rgba(59, 108, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 108, 255, 0.07) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse at 28% 42%, #000 18%, transparent 68%);
    animation: grid-drift 22s linear infinite;
    pointer-events: none;
}

.hero .wrap {
    position: relative;
    padding: 1.75rem 0 1.15rem;
}

/* 宽屏左右分开：左边主张，右边三项结果。窄屏仍上下排列。 */
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: 1.15rem 3rem;
    align-items: center;
}

/* 左侧中文只在标点处断行，避免「身后」这类词被拆开。 */
.hero-copy {
    word-break: keep-all;
    line-break: strict;
}

.eyebrow {
    margin: 0 0 0.55rem;
    color: var(--blue);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

h1 {
    max-width: 16em;
    margin: 0;
    font-size: clamp(1.85rem, 3.2vw, 2.7rem);
    text-wrap: balance;
}

/* 标题第二行用流动色，把“查、摘、归纳”从正文里亮出来。 */
.hero-shine {
    display: inline-block;
    white-space: nowrap;
    /* 两段相同的渐变铺在 200% 宽度上，移过一整段后画面与起点相同，循环不跳。 */
    background: linear-gradient(
        100deg,
        #3b6cff 0%,
        #7a5cff 16%,
        #12b5a8 33%,
        #3b6cff 50%,
        #7a5cff 66%,
        #12b5a8 83%,
        #3b6cff 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine-shift 5.5s linear infinite;
}

.hero-offers {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 右侧使命卡同宽，用位移错开，再轻微上下浮动。位移不减少卡片宽度。 */
.hero-offers li {
    --ox: 0px;
    position: relative;
    overflow: hidden;
    padding: 0.75rem 0.95rem;
    border: 1px solid rgba(213, 222, 242, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 28px rgba(59, 108, 255, 0.1);
    transform: translateX(var(--ox));
    animation: mission-float 8s ease-in-out infinite;
}

.hero-offers li:nth-child(1) { --ox: -18px; }
.hero-offers li:nth-child(2) { --ox: 26px; animation-delay: -2.6s; }
.hero-offers li:nth-child(3) { --ox: 4px; animation-delay: -5.2s; }

.hero-offers strong {
    display: block;
    font-size: 0.95rem;
}

.hero-offers span {
    display: block;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 400;
    letter-spacing: 0;
    /* 中文只在标点处换行，避免「结果」「完成」被拆开。 */
    word-break: keep-all;
}

.hero-offers li::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.85) 50%, transparent 68%);
    transform: translateX(-130%);
    animation: pill-sweep 2.6s linear infinite;
    pointer-events: none;
}

.hero-offers li:nth-child(2)::after {
    animation-delay: 0.8s;
}

.hero-offers li:nth-child(3)::after {
    animation-delay: 1.6s;
}

.lead {
    max-width: 40rem;
    margin: 0.75rem 0 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}

/* 三句横向错开，避免左缘齐成一块。窄屏取消位移，防止挤出屏幕。 */
.lead span {
    --ox: 0;
    display: block;
    transform: translateX(var(--ox));
}

.lead span:nth-child(2) { --ox: 1.35rem; }
.lead span:nth-child(3) { --ox: 0.4rem; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.05rem;
}

.button {
    display: inline-flex;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: linear-gradient(100deg, var(--blue), var(--violet));
    box-shadow: 0 10px 24px rgba(59, 108, 255, 0.28);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-ghost {
    background: #fff;
    border: 1px solid #d5def2;
    box-shadow: none;
    color: var(--ink);
    font-weight: 500;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(59, 108, 255, 0.34);
}

.button-ghost:hover {
    border-color: var(--blue);
    box-shadow: none;
    color: var(--blue);
}

@keyframes float {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(18px); }
}

@keyframes shine-shift {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

/* 高光从左穿到右。两端都在卡片外，循环跳回时看不见停顿。 */
@keyframes pill-sweep {
    from { transform: translateX(-130%); }
    to { transform: translateX(130%); }
}

@keyframes grid-drift {
    0% { background-position: 0 0; }
    100% { background-position: 52px 52px; }
}

@keyframes mission-float {
    0%,
    100% { transform: translate(var(--ox), 0); }
    50% { transform: translate(calc(var(--ox) + 6px), -8px); }
}

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-offers li,
    .hero-offers li:nth-child(1),
    .hero-offers li:nth-child(2),
    .hero-offers li:nth-child(3),
    .lead span,
    .lead span:nth-child(2),
    .lead span:nth-child(3) {
        --ox: 0px;
    }

    .hero-shine {
        white-space: normal;
    }
}

@media (max-width: 639px) {
    .hero .wrap {
        padding: 1.15rem 0 0.85rem;
    }

    h1 {
        max-width: none;
        font-size: 1.55rem;
    }

    .lead {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-grid,
    .hero-shine,
    .hero-offers li,
    .hero-offers li::after {
        animation: none;
    }

    .hero-shine {
        background: none;
        color: var(--ink);
    }
}

/* 优势标题：关键字用渐变，下面一条短线收住，和正文拉开。短线在字的下方，不穿过笔画。 */
.ability-head {
    margin-bottom: 1.15rem;
    text-align: center;
}

.ability-head h2 {
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.15;
}

.ability-head h2 span {
    background: linear-gradient(100deg, #3b6cff, #7a5cff 60%, #12b5a8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ability-head h2::after {
    content: "";
    display: block;
    width: 6.5rem;
    height: 3px;
    margin: 0.55rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(59, 108, 255, 0.2), #3b6cff 50%, rgba(122, 92, 255, 0.2));
}

.ability-head p {
    margin: 0.65rem auto 0;
}

/* 优势横跨整行，四条高低起伏，由一条淡线串起来。窄屏改回一列。 */

.ability-list {
    counter-reset: ability-step;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem 1.15rem;
    align-items: start;
    margin: 0.45rem 0 0;
    /* 上方留给序号。横线画在序号和标题之间，不穿过文字。 */
    padding: 3.6rem 0.2rem 0.2rem;
    list-style: none;
}

.ability-list::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 3.1rem;
    right: 4%;
    left: 4%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(59, 108, 255, 0.45) 18%,
        rgba(122, 92, 255, 0.4) 52%,
        rgba(18, 181, 168, 0.45) 82%,
        transparent
    );
    pointer-events: none;
}

.ability-list li {
    position: relative;
    z-index: 1;
    counter-increment: ability-step;
    margin: 0;
    padding: 0 0.35rem;
}

.ability-list li:nth-child(1) { --num: -2.95rem; }
.ability-list li:nth-child(2) { --num: -2.45rem; }
.ability-list li:nth-child(3) { --num: -2.7rem; }
.ability-list li:nth-child(4) { --num: -2.25rem; }

.ability-list li::before {
    content: counter(ability-step, decimal-leading-zero);
    position: absolute;
    top: var(--num);
    left: 0.35rem;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    color: rgba(59, 108, 255, 0.72);
}

.ability-list li:nth-child(2)::before { color: rgba(122, 92, 255, 0.8); }
.ability-list li:nth-child(3)::before { color: rgba(18, 181, 168, 0.9); }
.ability-list li:nth-child(4)::before { color: rgba(59, 108, 255, 0.9); }

.ability-list h3 {
    margin: 0 0 0.28rem;
    font-size: 1.05rem;
}

.ability-list p {
    margin: 0;
    color: var(--muted);
    word-break: keep-all;
    line-break: strict;
}

@media (max-width: 900px) {
    .ability-list {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .ability-list::before {
        display: none;
    }

    .ability-list {
        padding-top: 0.2rem;
    }

    .ability-list li::before {
        position: static;
        display: block;
        margin-bottom: 0.3rem;
    }

    .ability-list li,
    .ability-list li:nth-child(1),
    .ability-list li:nth-child(2),
    .ability-list li:nth-child(3),
    .ability-list li:nth-child(4) {
        --num: 0;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(59, 108, 255, 0.12);
    }
}

/* 行业标题：四个色点对应下面四组，字距拉开，下划落在基线之下。 */
.industry-head {
    margin-bottom: 1.15rem;
    text-align: center;
}

.industry-head h2 {
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.2;
    text-decoration: underline;
    text-decoration-thickness: 0.28rem;
    text-decoration-color: rgba(18, 181, 168, 0.35);
    text-underline-offset: 0.28rem;
    text-decoration-skip-ink: none;
}

.industry-head h2::before {
    content: "";
    display: inline-block;
    width: 0.38rem;
    height: 0.38rem;
    /* 阴影不占位，右边距要盖住后面三颗点，避免压到字上。 */
    margin-right: 2.5rem;
    border-radius: 3px;
    background: #3b6cff;
    box-shadow:
        0.62rem 0 0 #7a5cff,
        1.24rem 0 0 #12b5a8,
        1.86rem 0 0 rgba(59, 108, 255, 0.45);
    vertical-align: 0.18em;
}

.industry-head p {
    margin: 0.85rem auto 0;
}

/* 四组横铺整行，每列等宽，从左到右占满版心。不加外框。 */
.industry-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem 1.5rem;
    margin: 1.15rem 0 0.2rem;
    padding: 0;
    list-style: none;
}

.industry-list li {
    margin: 0;
    padding: 0;
}

.industry-list li:nth-child(1) { --tone: #3b6cff; }
.industry-list li:nth-child(2) { --tone: #7a5cff; }
.industry-list li:nth-child(3) { --tone: #12b5a8; }
.industry-list li:nth-child(4) { --tone: #3b6cff; }

.industry-list h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.industry-list .industry-names {
    margin: 0.4rem 0 0;
    color: var(--tone);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.industry-list li p:last-child {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    word-break: keep-all;
    line-break: strict;
}

@media (max-width: 1100px) {
    .industry-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 639px) {
    .industry-list {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
}

/* 案例四块共用版心。场景两列并排，底图衬在后面。 */

.plate-scene {
    /* 文字区铺匀，圆角边缘才透出底图。罩心不能再偏左，否则右列会压在画面上。 */
    --plate-veil: radial-gradient(ellipse 128% 112% at 50% 46%, rgba(247, 248, 252, 0.92) 0%, rgba(247, 248, 252, 0.86) 56%, rgba(247, 248, 252, 0.58) 80%, rgba(247, 248, 252, 0.24) 100%);
    position: relative;
    margin-top: 0.35rem;
    padding: 1.6rem 2.2rem 1.3rem;
    border-radius: 26px;
    overflow: hidden;
}

/* 底图直接铺在圆角里，不模糊。浅罩只为托住文字。图为自有生成，不署名。 */

.plate-ai {
    --mark: #3b6cff;
    --plate-photo: url("../images/plates/ai.jpg");
}

.plate-robot {
    --mark: #12b5a8;
}

#industry.plate-robot {
    --plate-photo: url("../images/plates/industry.jpg");
}

#service.plate-robot {
    --plate-photo: url("../images/plates/service.jpg");
}

.plate-hospital {
    --mark: #7a5cff;
    --plate-photo: url("../images/plates/hospital.jpg");
}

.plate-ai,
#industry.plate-robot,
#service.plate-robot,
.plate-hospital {
    background:
        var(--plate-veil),
        var(--plate-photo) center / cover no-repeat;
}

.plate-lead,
.case-list {
    position: relative;
    z-index: 1;
}

/* 标题在前，蓝色短句紧跟在后，不甩到行尾。场景说明另起一行。 */
.case-name {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.55rem;
}

.case-name h3 {
    order: 1;
}

.case-name .case-gain {
    order: 2;
    margin: 0;
    color: var(--mark, var(--blue));
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.45;
}

.case-name > p:not(.case-gain) {
    order: 3;
    flex: 1 0 100%;
}

/* 两列对读。右列整体下沉一截，像错开的两页，而不是逐行居中。 */
.case-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3.4rem;
    width: 100%;
    margin: 0.55rem 0 0;
    padding: 0 0.2rem 1.4rem;
    list-style: none;
}

/* 不另铺色块。字色加深，并沿笔画衬一圈浅影，底图保持圆角里的画面。 */
.case-list li {
    margin: 0;
    padding: 0;
}

.case-name h3,
.case-name p,
.case-name .case-gain,
.case-point span,
.case-point p {
    text-shadow:
        0 0 1px #f7f8fc,
        0 0 10px rgba(247, 248, 252, 0.95),
        0 1px 12px rgba(247, 248, 252, 0.85);
}

.case-list li:nth-child(even) {
    transform: translateY(1.45rem);
}

.case-name h3 {
    display: inline;
    margin: 0;
    padding-bottom: 0.12rem;
    border-bottom: 2px solid var(--mark, var(--blue));
    font-size: 1.28rem;
    letter-spacing: 0.04em;
}

.case-name p {
    color: var(--ink);
}

.case-point {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.15rem 0.65rem;
    align-items: baseline;
    margin-top: 0.5rem;
}

.case-point span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.case-point:nth-child(2) span { color: #b4533a; }
.case-point:nth-child(3) span { color: var(--teal); }
.case-point:nth-child(4) span { color: var(--blue); }

.case-list p {
    margin: 0;
    line-height: 1.7;
    word-break: keep-all;
    line-break: strict;
}

.case-point p {
    color: #2a3344;
}

@media (max-width: 900px) {
    .case-list {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        padding-bottom: 0;
    }

    .case-list li:nth-child(even) {
        transform: none;
    }
}

@media (max-width: 639px) {
    .plate-scene {
        padding: 1.15rem 1rem 1rem;
    }
}

/* 案例标题：两字放大，浅色副本错开一角，像套印。副本在字的右下方，不盖住笔画中部。 */
.case-head {
    margin-bottom: 1.05rem;
}

.case-head h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 0.15rem;
    font-size: clamp(2.2rem, 3.8vw, 2.85rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.05;
}

/* 副本只往右上错开，停在标题行里，不落到下面的切换按钮上。 */
.case-head h2::before {
    content: "案例";
    position: absolute;
    top: -0.12rem;
    left: 0.28rem;
    white-space: nowrap;
    color: rgba(122, 92, 255, 0.28);
    letter-spacing: inherit;
    pointer-events: none;
}

/* 页面中部的板块切换 */

.plate-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
}

.plate-tab {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.plate-tab.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(100deg, var(--blue), var(--violet));
    box-shadow: 0 10px 24px rgba(59, 108, 255, 0.28);
}

.plate-panel[hidden] {
    display: none;
}

/* 合作流程。标题下面一条收住的波浪笔，和案例、联系的套印分开。六步按 01—03、再从右折回 04—06。 */

.process-head h2 {
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.05;
}

.process-mark {
    display: block;
    width: min(16rem, 70%);
    height: 1.7rem;
    margin-top: 0.15rem;
}

.process-board {
    position: relative;
    margin-top: 1.5rem;
}

.process-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.process-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
        "s1 s2 s3"
        "s6 s5 s4";
    gap: 2.8rem 2rem;
    margin: 0;
    /* 上方留出起伏的笔锋，避免波浪被板块上沿裁掉。 */
    padding: 1.35rem 0 0;
    list-style: none;
}

.process-list li:nth-child(1) { grid-area: s1; }
.process-list li:nth-child(2) { grid-area: s2; }
.process-list li:nth-child(3) { grid-area: s3; }
.process-list li:nth-child(4) { grid-area: s4; }
.process-list li:nth-child(5) { grid-area: s5; }
.process-list li:nth-child(6) { grid-area: s6; }

.process-list li {
    margin: 0;
}

/* 数字单独成行。渐变只铺在字形上，同色底铺满字盒，线从数字中间穿过时被字盒挡住。 */
.process-list span {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.02rem 0.32rem;
    background-image:
        linear-gradient(160deg, #3b6cff, #7a5cff 55%, #12b5a8),
        linear-gradient(var(--bg), var(--bg));
    -webkit-background-clip: text, padding-box;
    background-clip: text, padding-box;
    color: transparent;
    font-size: 1.55rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    line-height: 1.15;
}

.process-list h3 {
    margin: 0;
    font-size: 1.12rem;
    letter-spacing: 0.08em;
}

.process-list p {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .process-path {
        display: none;
    }

    .process-list {
        grid-template-columns: 1fr;
        grid-template-areas: none;
        gap: 1.5rem;
        padding-left: 1.15rem;
    }

    .process-list::before {
        content: "";
        position: absolute;
        left: 0.15rem;
        top: 0.55rem;
        bottom: 0.55rem;
        width: 2px;
        background: linear-gradient(#3b6cff, #7a5cff, #12b5a8);
    }

    /* nth-child 的格子名优先级更高，这里按同样写法清掉，恢复 01 到 06 的上下顺序。 */
    .process-list li:nth-child(n) {
        grid-area: auto;
        padding-left: 0;
    }
}

/* 联系。左文右址。标题用一枚缺圆的印，不用套印。窄屏改回上下排列。 */

.contact-block {
    padding-bottom: 2.4rem;
}

.contact-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.5rem 3rem;
    align-items: end;
}

.contact-copy,
.contact-reach {
    position: relative;
    z-index: 1;
}

.contact-copy h2 {
    position: relative;
    display: inline-block;
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.05;
}

/* 双环缺圆落在标题左上的空白里，不压住字形。 */
.contact-copy h2::before,
.contact-copy h2::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.contact-copy h2::before {
    width: 3.35rem;
    height: 3.35rem;
    top: -1.35rem;
    left: -1.55rem;
    border: 1.5px solid transparent;
    border-top-color: rgba(59, 108, 255, 0.78);
    border-right-color: rgba(122, 92, 255, 0.55);
    border-bottom-color: rgba(59, 108, 255, 0.16);
    transform: rotate(-24deg);
}

.contact-copy h2::after {
    width: 2.15rem;
    height: 2.15rem;
    top: -0.72rem;
    left: -0.95rem;
    border: 1.5px solid transparent;
    border-bottom-color: rgba(18, 181, 168, 0.75);
    border-left-color: rgba(18, 181, 168, 0.4);
    transform: rotate(16deg);
}

.contact-invite {
    max-width: 24rem;
    margin: 0.9rem 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.85;
}

.contact-reach {
    padding-bottom: 0.15rem;
    text-align: right;
}

.contact-codes {
    display: flex;
    justify-content: flex-end;
    gap: 1.1rem;
    margin: 0 0 1.15rem;
}

.contact-code {
    margin: 0;
}

.contact-code img {
    display: block;
    width: 132px;
    height: 132px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.contact-code figcaption {
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-align: center;
}

.contact-mail {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    letter-spacing: 0.02em;
}

.contact-mail a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ink);
    font-weight: 650;
    text-decoration: none;
    border-bottom: 1px solid rgba(59, 108, 255, 0.45);
    padding-bottom: 0.12rem;
}

.mail-icon {
    width: 1.05em;
    height: 1.05em;
    flex: none;
}

.contact-mail a:hover {
    border-bottom-color: var(--blue);
}

.contact-address {
    margin: 0.7rem 0 0;
    color: var(--muted);
    letter-spacing: 0.04em;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .contact-reach {
        text-align: left;
    }

    .contact-codes {
        justify-content: flex-start;
    }

    .contact-copy h2::before {
        top: -1.05rem;
        left: -0.35rem;
    }

    .contact-copy h2::after {
        left: -0.05rem;
    }
}

/* 页脚备案。深色字放在浅底上，保证可辨认。 */

.site-footer {
    padding: 0.2rem 0 1.4rem;
    text-align: center;
}

.copyright {
    margin: 0 0 0.7rem;
    color: #3d4654;
    font-size: 14px;
}

.beian {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    margin: 0;
    font-size: 14px;
}

.beian a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #3d4654;
    text-decoration: none;
}

.beian a:hover {
    color: var(--blue);
    text-decoration: underline;
}

.gongan img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* 手机排版。只在窄屏收紧字号和间距，桌面规则不改。放在样式表最后，用来压过各板块的大标题下限。 */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (max-width: 639px) {
    .wrap {
        width: min(1120px, calc(100% - 1.5rem));
    }

    .block {
        padding: 0.7rem 0;
    }

    .section-head {
        margin-bottom: 0.35rem;
    }

    /* 首屏：标题、说明和使命收在更短的高度里。 */
    .hero .wrap {
        padding: 0.75rem 0 0.4rem;
    }

    .eyebrow {
        margin-bottom: 0.28rem;
        font-size: 0.82rem;
    }

    h1 {
        font-size: 1.28rem;
        line-height: 1.28;
    }

    .lead {
        margin-top: 0.4rem;
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .hero-layout {
        gap: 0.7rem;
    }

    .hero-actions {
        margin-top: 0.6rem;
    }

    .button {
        padding: 0.38rem 0.8rem;
        font-size: 0.86rem;
    }

    .hero-offers {
        gap: 0.38rem;
    }

    .hero-offers li {
        padding: 0.48rem 0.68rem;
        border-radius: 12px;
    }

    .hero-offers strong {
        font-size: 0.86rem;
    }

    .hero-offers span {
        font-size: 0.76rem;
    }

    /* 各板块大标题。案例仍略大，但不再占掉两行半的高度。 */
    .ability-head,
    .industry-head {
        margin-bottom: 0.5rem;
    }

    .ability-head h2,
    .industry-head h2,
    .process-head h2,
    .contact-copy h2 {
        font-size: 1.28rem;
        letter-spacing: 0.08em;
    }

    .ability-head h2::after {
        width: 3.6rem;
        height: 2px;
        margin-top: 0.3rem;
    }

    .ability-head p,
    .industry-head p {
        margin-top: 0.35rem;
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .case-head {
        margin-bottom: 0.45rem;
    }

    .case-head h2 {
        font-size: 1.45rem;
        letter-spacing: 0.1em;
    }

    .plate-tabs {
        gap: 0.28rem;
        margin-bottom: 0.4rem;
    }

    .plate-tab {
        padding: 0.26rem 0.62rem;
        font-size: 0.8rem;
    }

    .plate-scene {
        padding: 0.75rem 0.7rem 0.55rem;
        border-radius: 16px;
    }

    /* 行业各段用底线分开，不用外框。 */
    .industry-list {
        gap: 0;
        margin-top: 0.45rem;
    }

    .industry-list li {
        padding: 0.62rem 0;
        border-bottom: 1px solid rgba(18, 181, 168, 0.28);
    }

    .industry-list li:first-child {
        padding-top: 0.15rem;
    }

    .industry-list li:last-child {
        padding-bottom: 0;
        border-bottom: none;
    }

    /* 优势、行业 */
    .ability-list {
        gap: 0.45rem;
    }

    .ability-list li,
    .ability-list li:nth-child(1),
    .ability-list li:nth-child(2),
    .ability-list li:nth-child(3),
    .ability-list li:nth-child(4) {
        padding-bottom: 0.4rem;
    }

    .ability-list li::before {
        margin-bottom: 0.12rem;
        font-size: 0.95rem;
    }

    .ability-list h3,
    .industry-list h3 {
        font-size: 0.98rem;
    }

    .ability-list p,
    .industry-list li p:last-child {
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .industry-head h2 {
        text-decoration-thickness: 0.16rem;
        text-underline-offset: 0.16rem;
    }


    .industry-list .industry-names {
        font-size: 0.8rem;
    }

    /* 案例条目 */
    .case-list {
        gap: 1.25rem;
        margin-top: 0.4rem;
        padding-bottom: 0.35rem;
    }

    .case-name h3 {
        font-size: 1rem;
    }

    .case-name .case-gain {
        font-size: 0.74rem;
    }

    .case-list p,
    .case-point p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    .case-point {
        margin-top: 0.38rem;
        gap: 0.08rem 0.4rem;
        grid-template-columns: 2.15rem minmax(0, 1fr);
    }

    .case-point span {
        font-size: 0.7rem;
    }

    /* 流程 */
    .process-mark {
        width: min(11rem, 62%);
        height: 1.15rem;
    }

    .process-list {
        gap: 0.38rem;
        padding-left: 0.85rem;
    }

    .process-list::before {
        top: 0.2rem;
        bottom: 0.2rem;
    }

    .process-list span {
        margin-bottom: 0.05rem;
        font-size: 0.95rem;
    }

    .process-list h3 {
        font-size: 0.95rem;
    }

    .process-list p {
        margin-top: 0.06rem;
        font-size: 0.82rem;
        line-height: 1.45;
    }

    /* 联系 */
    .contact-block {
        padding-bottom: 1rem;
    }

    .contact-layout {
        gap: 0.75rem;
    }

    .contact-copy h2::before {
        width: 2.1rem;
        height: 2.1rem;
        top: -0.65rem;
        left: -0.15rem;
    }

    .contact-copy h2::after {
        width: 1.35rem;
        height: 1.35rem;
        top: -0.28rem;
        left: 0.08rem;
    }

    .contact-invite {
        margin-top: 0.4rem;
        font-size: 0.86rem;
        line-height: 1.55;
    }

    .contact-reach {
        text-align: center;
    }

    .contact-codes {
        justify-content: center;
        gap: 0.85rem;
        margin-bottom: 0.7rem;
    }

    .contact-code img {
        width: 92px;
        height: 92px;
    }

    .contact-mail {
        font-size: 0.92rem;
    }

    .contact-address {
        margin-top: 0.35rem;
        font-size: clamp(10px, 2.85vw, 13px);
        letter-spacing: 0;
        line-height: 1.5;
        text-align: center;
        white-space: nowrap;
    }

    .site-footer {
        padding-bottom: 0.9rem;
    }

    .copyright,
    .beian {
        font-size: 12px;
    }
}
