/* 科技服务 - 软件定制开发 */
.pagerightconten.cs-page,
.cs-page {
    --cs-bg: #061429;
    --cs-bg-card: linear-gradient(180deg, rgba(8, 28, 58, 0.95) 0%, rgba(3, 12, 32, 0.98) 100%);
    --cs-cyan: #7ec8ff;
    --cs-blue: #00a2ff;
    --cs-line: rgba(110, 210, 255, 0.75);
    --cs-text: #fff;
    --cs-muted: rgba(255, 255, 255, 0.65);
    padding: 0 !important;
    overflow: hidden;
}

.cs-hero {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 360px;
    margin: 0;
    background:
        url(/static/wap/images/custom-software/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;
}

.cs-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 360px;
    padding: 44px 52px;
    max-width: 58%;
}

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

.cs-hero-desc {
    margin: 0 0 26px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    max-width: 460px;
}

.cs-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.cs-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 124px;
    height: 100px;
    padding: 10px 12px;
    box-sizing: border-box;
    background: url(/static/wap/images/custom-software/stat-frame.png) center / 100% 100% no-repeat;
    border: none;
    box-shadow: none;
    text-align: center;
}

.cs-stat-num {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    font-family: PingFang SC, Microsoft YaHei, sans-serif;
}

.cs-stat-label {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.62);
}

.cs-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cs-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, border-color 0.2s ease;
    font-family: PingFang SC, Microsoft YaHei, sans-serif;
    box-sizing: border-box;
}

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

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

.cs-btn-ghost {
    color: #9ad6ff;
    background: rgba(4, 20, 48, 0.65);
    border: 1px solid rgba(110, 210, 255, 0.65);
}

.cs-btn-ghost:hover {
    color: #fff;
    text-decoration: none;
    border-color: rgba(140, 230, 255, 0.95);
    box-shadow: 0 0 16px rgba(0, 180, 255, 0.28);
}

.cs-btn-block {
    width: 100%;
    min-width: 0;
}

.cs-btn-contact {
    color: #9ad6ff;
    background: rgba(8, 36, 78, 0.75);
    border: 1px solid rgba(90, 190, 255, 0.55);
    margin-top: 12px;
}

.cs-btn-contact:hover {
    color: #fff;
    text-decoration: none;
    border-color: rgba(120, 220, 255, 0.9);
}

.cs-section {
    margin: 0;
    padding: 48px 40px;
    box-sizing: border-box;
}

.cs-section-adv {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background:
        url(/static/wap/images/custom-software/section-bg.png) center / cover no-repeat,
        #000b21;
}

.cs-section-svc {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    background:
        url(/static/wap/images/custom-software/process-bg.png) center bottom / cover no-repeat,
        #000b21;
}

.cs-section-process {
    position: relative;
    margin: 0;
    padding: 48px 0 56px;
    border-radius: 0;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    background:
        url(/static/wap/images/custom-software/process-form-bg.png) center top / cover no-repeat,
        #000b21;
}

.cs-section-process > .cs-section-head,
.cs-section-process .cs-form-block {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
}

.cs-section-head {
    text-align: center;
    margin-bottom: 28px;
}

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

.cs-section-desc {
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.6;
    color: var(--cs-muted);
    max-width: 720px;
}

/* 核心优势 */
.cs-adv-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
}

.cs-adv-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    box-sizing: border-box;
    padding: 28px 18px 24px;
    aspect-ratio: 600 / 680;
    text-align: center;
    background: url(/static/wap/images/custom-software/adv-frame.png) center / 100% 100% no-repeat;
    border: none;
    box-shadow: none;
    transition: transform 0.25s ease;
}

.cs-adv-card::before {
    content: none;
    display: none;
}

.cs-adv-card:hover {
    transform: translateY(-4px);
}

.cs-adv-icon {
    position: relative;
    z-index: 1;
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
}

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

.cs-adv-name {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.cs-adv-text {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.68);
}

/* 服务卡片 */
.cs-svc-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    box-sizing: border-box;
}

.cs-svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 450px;
    width: 450px;
    max-width: 450px;
    box-sizing: border-box;
    /* min-height: 320px; */
    padding: 22px 20px 120px;
    border-radius: 16px;
    background: var(--cs-bg-card);
    border: 1px solid var(--cs-line);
    box-shadow:
        0 0 16px rgba(0, 180, 255, 0.2),
        inset 0 0 28px rgba(0, 132, 255, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: visible;
}

.cs-svc-card::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 12px;
    border: 1px solid rgba(90, 200, 255, 0.45);
    pointer-events: none;
}

.cs-svc-card:hover {
    transform: translateY(-3px);
    border-color: rgba(120, 230, 255, 0.95);
    box-shadow: 0 0 22px rgba(0, 200, 255, 0.35);
}

.cs-svc-body {
    position: relative;
    z-index: 1;
    flex: 1;
}

.cs-svc-name {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
}

.cs-svc-desc {
    margin: 0 0 14px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(200, 235, 255, 0.92);
    background: linear-gradient(90deg, rgba(0, 90, 180, 0.55), rgba(0, 140, 220, 0.35));
    border: 1px solid rgba(80, 180, 255, 0.35);
    border-radius: 4px;
}

.cs-svc-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-svc-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.7);
}

.cs-svc-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00b4ff;
    box-shadow: 0 0 6px rgba(0, 180, 255, 0.8);
}

.cs-svc-visual {
    position: absolute;
    z-index: 2;
    bottom: -18px;
    display: flex;
    align-items: flex-end;
    height: 120px;
    pointer-events: none;
}

.cs-svc-card--bl .cs-svc-visual {
    left: -4px;
    justify-content: flex-start;
}

.cs-svc-card--br .cs-svc-visual {
    right: -4px;
    justify-content: flex-end;
}

.cs-svc-visual img {
    max-width: 136px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(0, 140, 255, 0.35));
    transition: transform 0.3s ease;
}

.cs-svc-card:hover .cs-svc-visual img {
    transform: translateY(-4px);
}

/* 服务流程 */
.cs-process {
    --cs-process-icon-size: 90px;
    --cs-process-line-y: calc(18px + var(--cs-process-icon-size) / 2);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 18px 0 8px;
}

.cs-process::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: var(--cs-process-line-y);
    height: 5px;
    margin-top: -2.5px;
    z-index: 0;
    pointer-events: none;
    background: transparent;
    border-top: 1px solid rgba(100, 210, 255, 0.92);
    border-bottom: 1px solid rgba(100, 210, 255, 0.92);
    box-shadow:
        0 -3px 10px rgba(0, 200, 255, 0.42),
        0 3px 10px rgba(0, 200, 255, 0.42);
}

.cs-process-item {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: var(--cs-process-icon-size);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease;
}

.cs-process-item:hover {
    transform: translateY(-4px);
}

.cs-process-icon {
    width: var(--cs-process-icon-size);
    height: var(--cs-process-icon-size);
    margin-bottom: 12px;
}

.cs-process-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 180, 255, 0.35));
}

.cs-process-name {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

/* 表单（嵌在服务流程区块内） */
.cs-form-block {
    margin-top: 48px;
}

.cs-form-block .cs-section-head {
    margin-bottom: 24px;
}

.cs-form {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: 36px 40px 28px;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at center, rgba(8, 24, 52, 0.92) 0%, rgba(3, 10, 28, 0.98) 100%);
    border: 1px solid rgba(110, 210, 255, 0.7);
    box-shadow:
        0 0 22px rgba(0, 162, 255, 0.22),
        inset 0 0 30px rgba(0, 132, 255, 0.06);
}

.cs-form::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 14px;
    border: 1px solid rgba(90, 200, 255, 0.4);
    pointer-events: none;
}

.cs-field {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}

.cs-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.cs-field input,
.cs-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(90, 180, 255, 0.45);
    background: rgba(6, 16, 36, 0.85);
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: PingFang SC, Microsoft YaHei, sans-serif;
    resize: vertical;
}

.cs-field input::placeholder,
.cs-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.cs-field input:focus,
.cs-field textarea:focus {
    border-color: rgba(0, 180, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.15);
}

.cs-form .cs-btn {
    position: relative;
    z-index: 1;
}

.cs-form-note {
    position: relative;
    z-index: 1;
    margin: 16px 0 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1200px) {
    .cs-hero-inner {
        max-width: 64%;
        padding: 36px 28px;
    }

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

    .cs-adv-grid {
        gap: 28px;
    }
}

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

    .cs-hero {
        min-height: 280px;
        margin: 0;
        border-radius: 0;
        background:
            url(/static/wap/images/custom-software/hero.png) right -30px center / auto 94% 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%);
    }

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

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

    .cs-section {
        padding: 32px 16px;
    }

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

    .cs-section-adv,
    .cs-section-svc,
    .cs-section-process {
        border-radius: 0;
    }

    .cs-adv-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cs-adv-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 220px;
        aspect-ratio: auto;
        min-height: 260px;
        padding: 28px 18px 24px;
    }

    .cs-svc-grid {
        max-width: 340px;
        gap: 24px;
    }

    .cs-svc-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 340px;
    }

    .cs-process {
        --cs-process-icon-size: 76px;
        --cs-process-gap: 20px;
        flex-direction: column;
        align-items: center;
        gap: var(--cs-process-gap);
        justify-content: flex-start;
        padding: 18px 16px 8px;
    }

    .cs-process::before {
        display: none;
    }

    .cs-process-item {
        flex: 0 0 auto;
        width: auto;
        min-width: var(--cs-process-icon-size);
    }

    .cs-process-item:not(:last-child)::after {
        content: '';
        position: absolute;
        z-index: 0;
        left: 50%;
        top: var(--cs-process-icon-size);
        width: 5px;
        height: calc(12px + 1.35em + var(--cs-process-gap));
        margin-left: -2.5px;
        pointer-events: none;
        border-left: 1px solid rgba(100, 210, 255, 0.92);
        border-right: 1px solid rgba(100, 210, 255, 0.92);
        box-shadow:
            -3px 0 10px rgba(0, 200, 255, 0.42),
            3px 0 10px rgba(0, 200, 255, 0.42);
    }

    .cs-process-icon {
        position: relative;
        z-index: 1;
    }

    .cs-section-process {
        padding: 32px 0 40px;
    }

    .cs-section-process > .cs-section-head,
    .cs-section-process .cs-form-block {
        padding-left: 16px;
        padding-right: 16px;
    }

    .cs-form-block {
        margin-top: 36px;
    }

    .cs-form {
        padding: 28px 20px 22px;
    }
}

@media (max-width: 768px) {
    .cs-hero {
        background:
            linear-gradient(180deg, rgba(0, 11, 33, 0.15) 30%, rgba(0, 11, 33, 0.88) 68%, #000b21 100%),
            url(/static/wap/images/custom-software/hero.png) center top / cover no-repeat,
            #000b21;
        min-height: 0;
    }

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

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

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

    .cs-stat {
        flex: 0 0 auto;
        width: 110px;
        height: 88px;
        padding: 8px 10px;
    }

    .cs-stat-num {
        font-size: 18px;
    }

    .cs-stat-label {
        font-size: 11px;
    }

    .cs-hero-actions .cs-btn {
        flex: 1 1 auto;
    }
}

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

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

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

    .cs-stat {
        flex: 0 0 auto;
        width: 100px;
        height: 80px;
    }

    .cs-btn-contact {
        font-size: 14px;
        padding: 0 12px;
    }
}
