/* 科技服务 - 网站建设页面 */
.pagerightconten.website-page,
.website-page {
    padding: 0 !important;
    overflow: hidden;
}

.ws-hero {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 320px;
    margin: 0;
    background:
        url(/static/wap/images/website/hero.png) right center / auto 100% no-repeat,
        radial-gradient(ellipse at 78% 50%, rgba(0, 162, 255, 0.28) 0%, rgba(0, 11, 33, 0) 55%),
        linear-gradient(110deg, #000b21 0%, #041533 45%, #062447 100%);
    border: none;
    box-shadow: none;
}

.ws-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 320px;
    padding: 48px 56px;
    max-width: 58%;
}

.ws-hero-label {
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: rgba(0, 210, 255, 0.85);
    font-family: PingFang SC, Microsoft YaHei, sans-serif;
}

.ws-hero-title {
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
    font-family: PingFang SC, Microsoft YaHei, sans-serif;
}

.ws-hero-sub {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 600;
    color: #7ec8ff;
    font-family: PingFang SC, Microsoft YaHei, sans-serif;
}

.ws-hero-desc {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 460px;
}

.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 44px;
    padding: 0 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: PingFang SC, Microsoft YaHei, sans-serif;
}

.ws-btn-primary {
    color: #fff;
    background: linear-gradient(90deg, #0084ff 0%, #00a2ff 100%);
    box-shadow: 0 6px 18px rgba(0, 132, 255, 0.35);
}

.ws-btn-primary:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 162, 255, 0.45);
}

.ws-section {
    margin: 0;
}

.ws-section-service {
    position: relative;
    margin: 0;
    padding: 40px 28px 36px;
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
    background:
        url(/static/wap/images/website/yizhansshi.png) center / cover no-repeat,
        #080c18;
}

.ws-section-case {
    position: relative;
    margin: 0;
    padding: 40px 28px 36px;
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: #0B2246;
}

.ws-section-process {
    position: relative;
    margin: 0;
    padding: 40px 28px 36px;
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: #021232;
}

.ws-section-head {
    margin-bottom: 28px;
}

.ws-section-head-center {
    text-align: center;
}

.ws-section-head-center .ws-section-desc {
    margin-left: auto;
    margin-right: auto;
}

.ws-section-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.4;
    color: #7ec8ff;
    background: rgba(0, 100, 220, 0.35);
    border: 1px solid rgba(0, 150, 255, 0.35);
    font-family: PingFang SC, Microsoft YaHei, sans-serif;
}

.ws-section-title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    font-family: PingFang SC, Microsoft YaHei, sans-serif;
}

.ws-section-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    max-width: 720px;
}

/* 服务卡片 */
.ws-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ws-service-card {
    position: relative;
    text-align: center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.ws-service-card-face {
    position: relative;
    height: 100%;
    padding: 28px 18px 22px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(8, 28, 58, 0.92) 0%, rgba(3, 12, 32, 0.96) 100%);
    border: 1px solid rgba(110, 210, 255, 0.75);
    box-shadow:
        0 0 14px rgba(0, 180, 255, 0.22),
        inset 0 0 24px rgba(0, 132, 255, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* 移动端：inner 不占盒模型，沿用 face 双线 */
.ws-service-card-inner {
    display: contents;
}

/* 内线：双线描边（移动端） */
.ws-service-card-face::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 15px;
    border: 1.5px solid rgba(90, 200, 255, 0.7);
    box-shadow:
        0 0 8px rgba(0, 200, 255, 0.2),
        inset 0 0 10px rgba(0, 180, 255, 0.12);
    pointer-events: none;
}

.ws-service-card:hover {
    transform: translateY(-4px);
}

.ws-service-card:hover .ws-service-card-face {
    border-color: rgba(120, 230, 255, 0.95);
    box-shadow:
        0 0 20px rgba(0, 200, 255, 0.35),
        inset 0 0 28px rgba(0, 162, 255, 0.1);
}

.ws-service-card:hover .ws-service-card-face::before {
    border-color: rgba(120, 230, 255, 0.9);
}

.ws-service-card-face > *,
.ws-service-card-inner > * {
    position: relative;
    z-index: 1;
}

/* PC：梯形 + 移动端同款双线 */
@media (min-width: 1201px) {
    .ws-service-grid {
        padding: 28px 0 20px;
        align-items: end;
    }

    .ws-service-card {
        --ws-fill: linear-gradient(180deg, rgba(8, 28, 58, 0.95) 0%, rgba(3, 12, 32, 0.98) 100%);
        background: transparent;
        filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.28));
        height: auto;
        align-self: end;
    }

    /* 外线 1px：face 描边色，inner 缩进露出 */
    .ws-service-card-face {
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: rgba(110, 210, 255, 0.85);
        padding: 1px;
        height: auto; /* 禁止撑满行高，否则外页/内页高低差失效 */
    }

    .ws-service-card-face::before,
    .ws-service-card-face::after {
        content: none !important;
        display: none !important;
    }

    .ws-service-card-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        height: auto;
        box-sizing: border-box;
        background: var(--ws-fill);
        box-shadow: inset 0 0 24px rgba(0, 132, 255, 0.06);
        padding: 0;
    }

    /* 内线：inset 5px 描边色块 + 再缩进 1.5px 填充挖空（对齐移动端） */
    .ws-service-card-inner::before {
        content: "";
        position: absolute;
        inset: 5px;
        z-index: 0;
        pointer-events: none;
        background: rgba(90, 200, 255, 0.75);
        box-shadow: 0 0 8px rgba(0, 200, 255, 0.2);
    }

    .ws-service-card-inner::after {
        content: "";
        position: absolute;
        inset: 6.5px;
        z-index: 0;
        pointer-events: none;
        background: var(--ws-fill);
        box-shadow: inset 0 0 10px rgba(0, 180, 255, 0.12);
    }

    .ws-service-card-inner > * {
        position: relative;
        z-index: 1;
        box-sizing: border-box;
    }

    .ws-service-card-inner .ws-service-name,
    .ws-service-card-inner .ws-service-text,
    .ws-service-card-inner .ws-tags {
        padding-left: 18px;
        padding-right: 18px;
        width: 100%;
    }

    .ws-service-card-inner .ws-tags {
        padding-bottom: 25px;
        margin-top: 0;
    }

    /* 右倾：1、2 */
    .ws-service-card:nth-child(1) .ws-service-card-face,
    .ws-service-card:nth-child(2) .ws-service-card-face,
    .ws-service-card:nth-child(1) .ws-service-card-inner,
    .ws-service-card:nth-child(2) .ws-service-card-inner,
    .ws-service-card:nth-child(1) .ws-service-card-inner::before,
    .ws-service-card:nth-child(2) .ws-service-card-inner::before,
    .ws-service-card:nth-child(1) .ws-service-card-inner::after,
    .ws-service-card:nth-child(2) .ws-service-card-inner::after {
        clip-path: url(#ws-clip-tilt-r);
    }

    /* 左倾：3、4 */
    .ws-service-card:nth-child(3) .ws-service-card-face,
    .ws-service-card:nth-child(4) .ws-service-card-face,
    .ws-service-card:nth-child(3) .ws-service-card-inner,
    .ws-service-card:nth-child(4) .ws-service-card-inner,
    .ws-service-card:nth-child(3) .ws-service-card-inner::before,
    .ws-service-card:nth-child(4) .ws-service-card-inner::before,
    .ws-service-card:nth-child(3) .ws-service-card-inner::after,
    .ws-service-card:nth-child(4) .ws-service-card-inner::after {
        clip-path: url(#ws-clip-tilt-l);
    }

    /*
      对称折叠：1=4 高，2=3 低（与三四镜像）
      用 min-height 锁定，避免内容撑破高低关系
    */
    .ws-service-card--tall {
        min-height: 400px;
    }

    .ws-service-card--short {
        min-height: 375px;
    }

    .ws-service-card--tall .ws-service-card-face,
    .ws-service-card--tall .ws-service-card-inner,
    .ws-service-card--short .ws-service-card-face,
    .ws-service-card--short .ws-service-card-inner {
        height: 100%;
        min-height: inherit;
    }

    .ws-service-card--tall .ws-service-card-inner {
        padding-top: 63px;
        justify-content: flex-start;
    }

    .ws-service-card--short .ws-service-card-inner {
        padding-top: 38px;
        justify-content: flex-start;
    }

    .ws-service-card--tall .ws-tags,
    .ws-service-card--short .ws-tags {
        margin-top: auto;
        padding-bottom: 25px;
    }

    .ws-service-card:hover {
        transform: translateY(-4px);
        filter: drop-shadow(0 0 16px rgba(0, 200, 255, 0.42));
    }

    .ws-service-card:hover .ws-service-card-face {
        background: rgba(120, 230, 255, 0.95);
    }

    .ws-service-card:hover .ws-service-card-inner::before {
        background: rgba(120, 230, 255, 0.9);
    }
}

.ws-service-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
}

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

.ws-service-name {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.ws-service-text {
    margin: 0 0 18px;
    min-height: 66px;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}

.ws-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 8px;
}

.ws-tags span {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 162, 255, 0.55);
    color: #7ec8ff;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
    background: rgba(0, 132, 255, 0.08);
}

/* 案例 */
.ws-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ws-case-card {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 162, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ws-case-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 132, 255, 0.28);
}

.ws-case-cover {
    aspect-ratio: 470 / 250;
    background: #0a1628;
    overflow: hidden;
}

.ws-case-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ws-case-caption {
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1a2b4a;
    background: #fff;
}

/* 服务流程：同一行气泡 + 居中双线连接，气泡不透明盖住连线 */
.ws-process {
    --ws-process-node-h: 52px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    min-height: 160px;
    padding: 24px 0;
}

/* 双线连接线：垂直居中于未展开气泡高度中心 */
.ws-process-line {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 50%;
    height: 5px;
    margin-top: -2.5px;
    z-index: 0;
    pointer-events: none;
    background: transparent;
    border-top: 1px solid rgba(100, 210, 255, 0.85);
    border-bottom: 1px solid rgba(100, 210, 255, 0.85);
    box-shadow:
        0 -2px 8px rgba(0, 200, 255, 0.35),
        0 2px 8px rgba(0, 200, 255, 0.35);
}

.ws-process-item {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0 6px;
}

.ws-process-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 168px;
    min-height: var(--ws-process-node-h);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 14px;
    /* 不透明底，盖住身后连线 */
    background: #061429;
    /* 外线 */
    border: 1px solid rgba(110, 200, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 162, 255, 0.14);
    transition:
        max-width 0.25s ease,
        min-height 0.25s ease,
        padding 0.25s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* 内线 */
.ws-process-card::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 11px;
    border: 1px solid rgba(90, 190, 255, 0.5);
    pointer-events: none;
}

.ws-process-card-title {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
}

.ws-process-card-text {
    display: none;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

/* 激活：放大并展示说明，仍盖住连线 */
.ws-process-item.is-active .ws-process-card {
    max-width: 240px;
    min-height: 118px;
    padding: 18px 16px;
    background:
        radial-gradient(ellipse at center, rgba(18, 48, 88, 0.75) 0%, #061429 72%),
        #061429;
    border-color: rgba(110, 220, 255, 0.95);
    box-shadow:
        0 0 18px rgba(0, 200, 255, 0.4),
        0 0 28px rgba(0, 162, 255, 0.18);
}

.ws-process-item.is-active .ws-process-card::before {
    inset: 4px;
    border-radius: 12px;
    border: 2px solid rgba(80, 210, 255, 0.95);
    box-shadow:
        0 0 10px rgba(0, 210, 255, 0.45),
        inset 0 0 12px rgba(0, 200, 255, 0.25);
}

.ws-process-item.is-active .ws-process-card-title {
    font-size: 18px;
    color: #fff;
}

.ws-process-item.is-active .ws-process-card-text {
    display: block;
}

/* CTA */
.ws-cta {
    position: relative;
    margin: 0;
    padding: 40px 28px 36px;
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: #021232;
}

.ws-cta .ws-section-head {
    margin-bottom: 28px;
}

.ws-contact-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
    padding: 14px 14px 14px 36px;
    border-radius: 999px;
    background: #061429;
    border: 1px solid rgba(110, 200, 255, 0.55);
    box-shadow: 0 0 18px rgba(0, 162, 255, 0.18);
}

.ws-contact-bar::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    border: 1px solid rgba(90, 190, 255, 0.45);
    pointer-events: none;
}

.ws-contact-main {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px 22px;
    min-width: 0;
    flex: 1;
}

.ws-contact-person {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.ws-contact-phone {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    font-family: PingFang SC, Microsoft YaHei, sans-serif;
}

.ws-contact-tip {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.ws-cta .ws-copy-btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    min-width: 120px;
    height: 44px;
    border-radius: 999px;
    box-shadow:
        0 0 0 3px #061429,
        0 0 0 4px rgba(180, 220, 255, 0.55),
        0 6px 16px rgba(0, 132, 255, 0.35);
}

/* 平板 */
@media (max-width: 1200px) {
    .ws-service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ws-service-card--tall,
    .ws-service-card--short {
        min-height: 0;
    }

    .ws-service-card-face {
        height: auto;
        box-sizing: border-box;
    }

    .ws-hero-inner {
        max-width: 62%;
        padding: 36px 32px;
    }

    .ws-hero-title {
        font-size: 34px;
    }
}

@media (max-width: 1024px) {
    .pagerightconten.website-page,
    .website-page {
        padding: 0 !important;
    }

    .ws-hero {
        min-height: 260px;
        margin: 0;
        background:
            url(/static/wap/images/website/hero.png) right -20px center / auto 92% no-repeat,
            radial-gradient(ellipse at 85% 50%, rgba(0, 162, 255, 0.22) 0%, rgba(0, 11, 33, 0) 50%),
            linear-gradient(110deg, #000b21 0%, #041533 55%, #062447 100%);
    }

    .ws-hero-inner {
        max-width: 70%;
        min-height: 260px;
        padding: 28px 20px;
    }

    .ws-hero-title {
        font-size: 30px;
    }

    .ws-hero-sub {
        font-size: 18px;
    }

    .ws-section-title {
        font-size: 24px;
    }

    .ws-process {
        flex-wrap: wrap;
        min-height: 0;
        gap: 14px;
        padding: 8px 0;
    }

    .ws-process-line {
        display: none;
    }

    .ws-process-item {
        flex: 1 1 calc(50% - 14px);
        padding: 0;
    }

    .ws-process-card {
        max-width: none;
        min-height: 0;
        padding: 16px 14px;
    }

    .ws-process-card-text {
        display: block;
    }

    .ws-process-item.is-active .ws-process-card {
        max-width: none;
        min-height: 0;
    }
}

/* 手机 */
@media (max-width: 768px) {
    .ws-hero {
        background:
            linear-gradient(180deg, rgba(0, 11, 33, 0.2) 35%, rgba(0, 11, 33, 0.92) 72%, #000b21 100%),
            url(/static/wap/images/website/hero.png) center top / cover no-repeat,
            #000b21;
        min-height: 0;
    }

    .ws-section-service {
        padding: 28px 16px 24px;
        border-radius: 0;
    }

    .ws-section-case {
        padding: 28px 16px 24px;
        border-radius: 0;
    }

    .ws-section-process {
        padding: 28px 16px 24px;
        border-radius: 0;
    }

    .ws-cta {
        padding: 28px 16px 24px;
        border-radius: 0;
    }

    .ws-hero-inner {
        max-width: 100%;
        min-height: 0;
        padding: 100px 16px 24px;
        align-items: flex-end;
    }

    .ws-hero-title {
        font-size: 28px;
    }

    .ws-hero-sub {
        font-size: 16px;
    }

    .ws-hero-desc {
        font-size: 14px;
        max-width: none;
    }

    .ws-service-grid,
    .ws-case-grid {
        grid-template-columns: 1fr;
    }

    .ws-service-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .ws-service-card {
        margin: 0 0 24px;
        height: auto;
        min-height: 0;
    }

    .ws-service-card:last-child {
        margin-bottom: 0;
    }

    .ws-service-card-face {
        height: auto;
        box-sizing: border-box;
        box-shadow:
            0 0 8px rgba(0, 180, 255, 0.18),
            inset 0 0 24px rgba(0, 132, 255, 0.06);
    }

    .ws-service-card--tall,
    .ws-service-card--short {
        min-height: 0;
    }

    .ws-service-text {
        min-height: 0;
    }

    .ws-process-item {
        flex: 1 1 100%;
    }

    .ws-contact-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 16px;
        border-radius: 20px;
        text-align: center;
    }

    .ws-contact-bar::before {
        border-radius: 16px;
    }

    .ws-contact-main {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .ws-contact-phone {
        font-size: 22px;
    }

    .ws-cta .ws-copy-btn {
        width: 100%;
        box-shadow:
            0 0 0 3px #061429,
            0 0 0 4px rgba(180, 220, 255, 0.45),
            0 6px 16px rgba(0, 132, 255, 0.3);
    }
}

@media (max-width: 480px) {
    .ws-hero-inner {
        padding-top: 48px;
    }

    .ws-hero-title {
        font-size: 24px;
    }

    .ws-section-title {
        font-size: 20px;
    }

    .ws-tags span {
        font-size: 11px;
        padding: 3px 8px;
    }
}
