:root {
    --brand-900: #001278;
    --brand-700: #1235b8;
    --brand-500: #3d63ff;
    --ink-900: #111827;
    --ink-700: #344054;
    --ink-500: #667085;
    --line: #e4e7ec;
    --bg-soft: #f8faff;
    color-scheme: light;
    --nav-offset: 92px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--ink-900);
    background: #fff;
    overflow-x: hidden;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    z-index: 1200;
    background: linear-gradient(90deg, #7fa2ff 0%, #3d63ff 45%, #1235b8 100%);
    box-shadow: 0 2px 10px rgba(61, 99, 255, 0.45);
    transition: width 0.08s linear;
}

body::before {
    content: '';
    position: fixed;
    inset: -20vmax;
    background:
        radial-gradient(circle at 12% 12%, rgba(61, 99, 255, 0.09), transparent 40%),
        radial-gradient(circle at 88% 18%, rgba(18, 53, 184, 0.08), transparent 42%);
    z-index: -3;
    pointer-events: none;
}

.skip-link {
    position: fixed;
    left: 12px;
    top: -46px;
    z-index: 1400;
    padding: 10px 14px;
    border-radius: 10px;
    background: #1235b8;
    color: #fff;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(18, 53, 184, 0.35);
    transition: top 0.2s ease;
}

.skip-link:focus-visible {
    top: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding-top: env(safe-area-inset-top);
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(17, 24, 39, 0.06);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(8, 23, 70, 0.08);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 78px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 18, 120, 0.28);
}

.brand-name {
    font-size: 0.94rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #001277;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--ink-700);
    font-weight: 600;
    transition: color 0.25s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1.5px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--brand-700), var(--brand-500));
    transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-700);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 82%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    width: 34px;
    height: 30px;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 0;
    background: transparent;
    padding: 0;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 4px;
    background: var(--brand-900);
    position: absolute;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-7px);
}

.nav-toggle span:nth-child(2) {
    transform: translateY(0);
}

.nav-toggle span:nth-child(3) {
    transform: translateY(7px);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 84px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(61, 99, 255, 0.35), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(18, 53, 184, 0.35), transparent 50%),
        linear-gradient(135deg, #04175f 0%, #0a2490 50%, #1235b8 100%);
    animation: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.26;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.08));
    animation: none;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 880px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    margin-bottom: 16px;
    font-size: 0.76rem;
    letter-spacing: 0.11em;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
}

.hero-kicker::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #9ab3ff;
    box-shadow: 0 0 14px rgba(154, 179, 255, 0.9);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.4vw, 1.35rem);
    margin-bottom: 2.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-metrics {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 12px;
}

.hero-trustbar {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-trustbar span {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
}

.hero-metric {
    padding: 14px 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(8px);
}

.hero-metric strong {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
}

.hero-metric span {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.86);
}

.btn {
    padding: 12px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(61, 99, 255, 0.82);
    outline-offset: 2px;
}

.btn-primary {
    background: #fff;
    color: var(--brand-700);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(7, 28, 92, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background: #fff;
    color: var(--brand-700);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
}

section {
    padding: 92px 0;
    position: relative;
}

section[id] {
    scroll-margin-top: var(--nav-offset);
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 48px));
    height: 1px;
    background: linear-gradient(90deg, rgba(61, 99, 255, 0), rgba(61, 99, 255, 0.18), rgba(61, 99, 255, 0));
}

#home::before {
    display: none;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 11px;
    border-radius: 999px;
    border: 1px solid rgba(61, 99, 255, 0.26);
    background: rgba(61, 99, 255, 0.08);
    color: #2346c8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 3.8vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.015em;
    margin-bottom: 0.8rem;
    color: var(--ink-900);
}

.section-subtitle {
    font-size: 1.06rem;
    color: var(--ink-500);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.78;
}

.services,
.cases {
    background: var(--bg-soft);
}

.services {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 10%, rgba(61, 99, 255, 0.08), transparent 34%),
        radial-gradient(circle at 86% 86%, rgba(18, 53, 184, 0.06), transparent 38%),
        var(--bg-soft);
}

.services::before {
    content: '';
    position: absolute;
    inset: auto -10% 8% -10%;
    height: 180px;
    background: linear-gradient(180deg, rgba(61, 99, 255, 0), rgba(61, 99, 255, 0.09));
    filter: blur(26px);
    pointer-events: none;
}

.services-flow {
    margin: -8px 0 26px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(18, 53, 184, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(245, 249, 255, 0.95));
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.services-flow::before {
    content: none;
    position: absolute;
    left: 43px;
    right: 43px;
    /* 16(容器padding-top) + 8(step padding-top) + 17(圆点半径) = 41 */
    top: 41px;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            rgba(18, 53, 184, 0) 0%,
            rgba(18, 53, 184, 0.2) 8%,
            rgba(18, 53, 184, 0.2) 23%,
            rgba(18, 53, 184, 0) 30%,
            rgba(18, 53, 184, 0) 33%,
            rgba(18, 53, 184, 0.2) 41%,
            rgba(18, 53, 184, 0.2) 56%,
            rgba(18, 53, 184, 0) 63%,
            rgba(18, 53, 184, 0) 66%,
            rgba(18, 53, 184, 0.2) 74%,
            rgba(18, 53, 184, 0.2) 89%,
            rgba(18, 53, 184, 0) 100%
        );
    opacity: 0.76;
    pointer-events: none;
}

.services-flow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.28) 48%,
        rgba(255, 255, 255, 0) 66%
    );
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
}

.services-flow.is-visible::after {
    opacity: 1;
    animation: flowSweep 1.4s ease 0.35s 1 both;
}

.flow-step {
    position: relative;
    z-index: 1;
    padding: 8px 10px;
    border-radius: 12px;
    transition: transform 0.25s ease, background 0.25s ease;
    opacity: 0;
    transform: translateY(12px);
    border: 1px solid transparent;
}

.flow-step:hover {
    transform: translateY(-3px);
    background: rgba(61, 99, 255, 0.05);
    border-color: rgba(61, 99, 255, 0.12);
}

.flow-step:focus-visible {
    outline: 2px solid rgba(61, 99, 255, 0.82);
    outline-offset: 2px;
    background: rgba(61, 99, 255, 0.08);
}

.services-flow.is-visible .flow-step {
    animation: flowStepIn 0.6s cubic-bezier(0.2, 0.65, 0.2, 1) both;
}

.services-flow.is-visible .flow-step:nth-child(1) { animation-delay: 60ms; }
.services-flow.is-visible .flow-step:nth-child(2) { animation-delay: 140ms; }
.services-flow.is-visible .flow-step:nth-child(3) { animation-delay: 220ms; }
.services-flow.is-visible .flow-step:nth-child(4) { animation-delay: 300ms; }

.flow-index {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #fff;
    background: linear-gradient(135deg, #1235b8, #3d63ff);
    box-shadow: 0 8px 18px rgba(18, 53, 184, 0.28);
    margin-bottom: 10px;
    position: relative;
}

.flow-index::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(61, 99, 255, 0.26), rgba(61, 99, 255, 0));
    z-index: -1;
    pointer-events: none;
}

.flow-step h3 {
    margin: 0 0 4px;
    font-size: 0.98rem;
    color: #13245e;
}

.flow-step p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.6;
    color: #5d6b92;
}

.services-grid {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 4px 14px;
    scroll-behavior: smooth;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: contain;
}

.services-grid::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(248, 250, 255, 0.95), rgba(248, 250, 255, 0));
    z-index: 3;
}

.services-grid::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(248, 250, 255, 0.95), rgba(248, 250, 255, 0));
    z-index: 3;
}

@media (min-width: 992px) {
    .services-grid {
        overflow: visible;
        padding: 6px 0 14px;
    }

    .services-grid::before,
    .services-grid::after {
        display: none;
    }

    .services-track {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
        transform: none !important;
    }

    .services-track .service-card {
        min-width: 0;
        width: 100%;
        flex: initial;
        min-height: 530px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .services-track .service-card .service-title {
        min-height: 2.8em;
        display: flex;
        align-items: center;
    }

    .services-track .service-card > p {
        min-height: 3.7em;
        max-width: 28ch;
    }

    .services-track .service-card .service-list {
        min-height: 180px;
        padding-bottom: 28px;
    }

    .services-track .service-card .service-cta {
        margin-top: auto;
    }
}

.services-grid::-webkit-scrollbar {
    display: none;
}

.services-grid::-webkit-scrollbar-track {
    display: none;
}

.services-grid::-webkit-scrollbar-thumb {
    display: none;
}

.services-track {
    display: flex;
    gap: 20px;
    transform: none;
    counter-reset: serviceIndex;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.service-card,
.case-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(61, 99, 255, 0.14), transparent 38%),
        radial-gradient(circle at 92% 88%, rgba(18, 53, 184, 0.1), transparent 44%),
        linear-gradient(160deg, #ffffff 0%, #f9fbff 56%, #f2f6ff 100%);
    border: 1px solid rgba(18, 53, 184, 0.14);
    border-radius: 20px;
    box-shadow:
        0 12px 28px rgba(16, 24, 40, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 13px;
    min-height: 100%;
    min-width: min(360px, 84vw);
    flex: 0 0 min(360px, 84vw);
    scroll-snap-align: start;
    margin-right: 0;
    padding: 24px 22px;
    /* 大厂风格：品牌渐变底 + 微弱高光 + 渐变描边（每张卡用 accent 做轻差异） */
    --service-accent: rgba(61, 99, 255, 0.78);
    --service-accent-soft: rgba(61, 99, 255, 0.18);
    --service-accent-ultra: rgba(61, 99, 255, 0.08);
    /* 渐变描边：两层 background（padding-box + border-box） */
    border: 1px solid transparent;
    background:
        radial-gradient(900px 280px at 8% -10%, var(--service-accent-soft), transparent 56%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 255, 0.98) 100%) padding-box,
        linear-gradient(
            145deg,
            rgba(61, 99, 255, 0.28),
            rgba(18, 53, 184, 0.14) 46%,
            rgba(61, 99, 255, 0.06)
        ) border-box;
    background-clip: padding-box, padding-box, padding-box, border-box;
    box-shadow:
        0 16px 36px rgba(15, 23, 42, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
    counter-increment: serviceIndex;
    contain: layout paint;
    will-change: transform;
}

.service-card .service-title {
    position: relative;
    padding-top: 12px;
}

.service-card .service-title::after {
    content: none;
}

.service-card > *:not(.service-card-bg),
.case-card > * {
    position: relative;
    z-index: 1;
}

.service-card-bg{
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border-radius: inherit;
    /* 默认不写死，下面用 nth-child 给每张卡指定不同图片 */
    background-image: none;
    background-repeat: no-repeat;
    background-position: right -12px bottom -18px;
    background-size: clamp(138px, 40%, 230px) auto;
    /* 图片透明度：从左下角逐渐到右下角更不透明 */
    -webkit-mask-image:
        linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 58%),
        linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 52%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%, 100% 100%;
    mask-image:
        linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 58%),
        linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 52%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%, 100% 100%;
    opacity: 0.34;
    transition: opacity 0.25s ease;
}

.service-card:hover .service-card-bg {
    opacity: 0.44;
}

/* 核心服务四张卡分别使用 1~4.png（都叠在右下角） */
.services-track > .service-card[data-service="dev"] .service-card-bg{
    background-image: url("../images/1.png");
}
.services-track > .service-card[data-service="design"] .service-card-bg{
    background-image: url("../images/2.png");
}
.services-track > .service-card[data-service="ads"] .service-card-bg{
    background-image: url("../images/3.png");
}
.services-track > .service-card[data-service="ecommerce"] .service-card-bg{
    background-image: url("../images/4.png");
}

.service-card::before,
.case-card::before {
    content: '';
    position: absolute;
    top: -46px;
    right: -36px;
    width: 136px;
    height: 136px;
    border-radius: 999px;
    z-index: -1;
    background: radial-gradient(circle, rgba(61, 99, 255, 0.2), rgba(61, 99, 255, 0));
}

.service-card::before {
    /* 右上角柔光：跟随卡片 accent */
    background: radial-gradient(circle, var(--service-accent-soft), rgba(61, 99, 255, 0));
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    /* 放到元素背景之上、内容之下：细腻纹理 + 渐变描边质感 */
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 40%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0) 30%),
        repeating-linear-gradient(
            135deg,
            rgba(18, 53, 184, 0.018) 0px,
            rgba(18, 53, 184, 0.018) 1px,
            transparent 1px,
            transparent 18px
        );
    background-repeat: no-repeat;
    opacity: 0.72;
}

.service-card:hover::after {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 44%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 34%),
        repeating-linear-gradient(
            135deg,
            rgba(18, 53, 184, 0.02) 0px,
            rgba(18, 53, 184, 0.02) 1px,
            transparent 1px,
            transparent 18px
        );
}

.case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0) 10%,
            rgba(61, 99, 255, 0.07) 42%,
            rgba(255, 255, 255, 0) 74%
        ),
        repeating-linear-gradient(
            45deg,
            rgba(18, 53, 184, 0.02) 0px,
            rgba(18, 53, 184, 0.02) 1px,
            transparent 1px,
            transparent 12px
        );
}

.case-content h3::before {
    content: '';
    display: block;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #1235b8, #3d63ff);
    box-shadow: 0 3px 10px rgba(18, 53, 184, 0.2);
}

.service-card h3::before {
    content: '';
    display: inline-block;
    width: clamp(46px, 4.5vw, 64px);
    height: 3px;
    border-radius: 999px;
    margin-bottom: 0;
    flex-shrink: 0;
    background: linear-gradient(90deg, rgba(34, 62, 171, 0.78), rgba(78, 112, 228, 0.4));
    box-shadow: 0 6px 14px rgba(61, 99, 255, 0.16);
    opacity: 0.9;
    transform: translateY(1px);
}

/* 横条颜色与左上角图标保持一致（按卡片固定四色，不自动跟随） */
.service-card[data-service="dev"] h3::before {
    background: linear-gradient(90deg, rgba(61, 99, 255, 0.8), rgba(61, 99, 255, 0.3));
    box-shadow: 0 6px 14px rgba(61, 99, 255, 0.16);
}
.service-card[data-service="design"] h3::before {
    background: linear-gradient(90deg, rgba(124, 95, 226, 0.8), rgba(124, 95, 226, 0.3));
    box-shadow: 0 6px 14px rgba(124, 95, 226, 0.16);
}
.service-card[data-service="ads"] h3::before {
    background: linear-gradient(90deg, rgba(231, 126, 48, 0.8), rgba(231, 126, 48, 0.3));
    box-shadow: 0 6px 14px rgba(231, 126, 48, 0.14);
}
.service-card[data-service="ecommerce"] h3::before {
    background: linear-gradient(90deg, rgba(38, 170, 154, 0.82), rgba(38, 170, 154, 0.3));
    box-shadow: 0 6px 14px rgba(38, 170, 154, 0.14);
}

.service-card:hover,
.case-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 22px 40px rgba(16, 24, 40, 0.14),
        0 2px 0 rgba(255, 255, 255, 0.75) inset;
    border-color: rgba(61, 99, 255, 0.42);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 36px rgba(15, 23, 42, 0.14),
        0 2px 0 rgba(255, 255, 255, 0.78) inset;
}

.service-card.flow-linked {
    transform: translateY(-5px);
    border-color: rgba(61, 99, 255, 0.52);
    box-shadow:
        0 28px 58px rgba(15, 23, 42, 0.18),
        0 2px 0 rgba(255, 255, 255, 0.78) inset;
    animation: none;
}

.flow-step.flow-active {
    background: rgba(61, 99, 255, 0.06);
    border-color: rgba(61, 99, 255, 0.16);
}

.flow-step.flow-active .flow-index {
    box-shadow: 0 10px 24px rgba(18, 53, 184, 0.36);
    transform: scale(1.04);
}


@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-bg,
    .hero-grid,
    .map-pin {
        animation: none !important;
    }

    .flow-step {
        opacity: 1;
        transform: none;
        animation: none !important;
    }

    .services-flow::after {
        display: none !important;
    }

    .service-card.flow-linked {
        animation: none !important;
    }
}

/* 性能优先：关闭高消耗视觉效果 */
.hero-kicker,
.hero-metric,
.services-flow,
.map-card,
.navbar {
    backdrop-filter: none !important;
}

.service-card::after,
.case-card::after {
    background: none;
}

.service-card,
.case-card,
.contact-info,
.contact-form form,
.feature-item {
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}


.service-card[data-service="design"]::before,
.case-card:nth-child(2)::before {
    background: radial-gradient(circle, rgba(18, 53, 184, 0.24), rgba(18, 53, 184, 0));
}

.service-card[data-service="ads"]::before,
.case-card:nth-child(3)::before {
    background: radial-gradient(circle, rgba(0, 18, 120, 0.2), rgba(0, 18, 120, 0));
}

.service-card[data-service="ecommerce"]::before {
    background: radial-gradient(circle, rgba(61, 99, 255, 0.24), rgba(61, 99, 255, 0));
}

.service-card[data-service="dev"] {
    --service-accent: rgba(61, 99, 255, 0.78);
    --service-accent-soft: rgba(61, 99, 255, 0.18);
    --service-accent-ultra: rgba(61, 99, 255, 0.08);
}

.service-card[data-service="design"] {
    --service-accent: rgba(124, 95, 226, 0.72);
    --service-accent-soft: rgba(124, 95, 226, 0.14);
    --service-accent-ultra: rgba(124, 95, 226, 0.07);
}

.service-card[data-service="ads"] {
    --service-accent: rgba(231, 126, 48, 0.72);
    --service-accent-soft: rgba(231, 126, 48, 0.14);
    --service-accent-ultra: rgba(231, 126, 48, 0.07);
}

.service-card[data-service="ecommerce"] {
    --service-accent: rgba(38, 170, 154, 0.76);
    --service-accent-soft: rgba(38, 170, 154, 0.16);
    --service-accent-ultra: rgba(38, 170, 154, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(26px 26px at 28% 26%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 246, 255, 0.92)) padding-box,
        linear-gradient(
            135deg,
            rgba(61, 99, 255, 0.46) 0%,
            rgba(18, 53, 184, 0.22) 48%,
            rgba(61, 99, 255, 0.10) 100%
        ) border-box;
    background-clip: padding-box, padding-box, border-box;
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.10),
        0 0 22px rgba(61, 99, 255, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    z-index: -1;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 70% 80%, rgba(61, 99, 255, 0.18), rgba(255, 255, 255, 0) 62%);
    opacity: 0.75;
    filter: blur(10px);
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: none;
    opacity: 0.52;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(0);
}

.service-card:hover .service-icon {
    background:
        radial-gradient(26px 26px at 28% 26%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 255, 0.94)) padding-box,
        linear-gradient(
            135deg,
            rgba(61, 99, 255, 0.66) 0%,
            rgba(18, 53, 184, 0.28) 48%,
            rgba(61, 99, 255, 0.14) 100%
        ) border-box;
    background-clip: padding-box, padding-box, border-box;
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.14),
        0 0 28px rgba(61, 99, 255, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.88) inset;
}
.service-card:hover .service-icon::after {
    opacity: 0.78;
    transform: translateY(-1px);
}
.service-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(61, 99, 255, 0.08));
    transition: filter 0.25s ease;
}

.service-card:hover .service-icon img {
    filter: drop-shadow(0 14px 24px rgba(61, 99, 255, 0.18));
}

/* 具体图标配色（按卡片固定，不跟随自动变量；滚动重排仍保持一致） */
.service-card[data-service="dev"] .service-icon {
    border-radius: 14px;
    background:
        radial-gradient(26px 26px at 28% 26%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 246, 255, 0.92)) padding-box,
        linear-gradient(
            135deg,
            rgba(61, 99, 255, 0.46) 0%,
            rgba(18, 53, 184, 0.22) 48%,
            rgba(61, 99, 255, 0.10) 100%
        ) border-box;
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.10),
        0 0 22px rgba(61, 99, 255, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.service-card[data-service="dev"] .service-icon::before {
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 70% 80%, rgba(61, 99, 255, 0.18), rgba(255, 255, 255, 0) 62%);
}
.service-card[data-service="dev"] .service-icon::after {
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 56%),
        linear-gradient(145deg, rgba(61, 99, 255, 0.1), rgba(61, 99, 255, 0.02) 60%, rgba(255, 255, 255, 0) 100%);
}
.service-card[data-service="dev"] .service-icon img {
    filter: drop-shadow(0 10px 18px rgba(61, 99, 255, 0.08));
}
.service-card[data-service="dev"]:hover .service-icon {
    background:
        radial-gradient(26px 26px at 28% 26%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 255, 0.94)) padding-box,
        linear-gradient(
            135deg,
            rgba(61, 99, 255, 0.66) 0%,
            rgba(18, 53, 184, 0.28) 48%,
            rgba(61, 99, 255, 0.14) 100%
        ) border-box;
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.14),
        0 0 28px rgba(61, 99, 255, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.88) inset;
}
.service-card[data-service="dev"]:hover .service-icon img {
    filter: drop-shadow(0 14px 24px rgba(61, 99, 255, 0.18));
}

.service-card[data-service="design"] .service-icon {
    border-radius: 18px;
    background:
        radial-gradient(26px 26px at 28% 26%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 246, 255, 0.92)) padding-box,
        linear-gradient(
            135deg,
            rgba(124, 95, 226, 0.42) 0%,
            rgba(124, 95, 226, 0.2) 48%,
            rgba(124, 95, 226, 0.1) 100%
        ) border-box;
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.10),
        0 0 22px rgba(124, 95, 226, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.service-card[data-service="design"] .service-icon::before {
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.16), rgba(255, 255, 255, 0) 62%);
}
.service-card[data-service="design"] .service-icon::after {
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55) 0px, rgba(255, 255, 255, 0) 52%),
        radial-gradient(circle at 72% 36%, rgba(139, 92, 246, 0.16) 0px, rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 46% 76%, rgba(255, 255, 255, 0.30) 0px, rgba(255, 255, 255, 0) 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 65%);
}
.service-card[data-service="design"] .service-icon img {
    filter: drop-shadow(0 10px 18px rgba(139, 92, 246, 0.075));
}
.service-card[data-service="design"]:hover .service-icon {
    background:
        radial-gradient(26px 26px at 28% 26%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 255, 0.94)) padding-box,
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.72) 0%,
            rgba(139, 92, 246, 0.28) 48%,
            rgba(139, 92, 246, 0.16) 100%
        ) border-box;
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.14),
        0 0 28px rgba(139, 92, 246, 0.075),
        0 1px 0 rgba(255, 255, 255, 0.88) inset;
}
.service-card[data-service="design"]:hover .service-icon img {
    filter: drop-shadow(0 14px 24px rgba(139, 92, 246, 0.16));
}

.service-card[data-service="ads"] .service-icon {
    border-radius: 12px;
    background:
        radial-gradient(26px 26px at 28% 26%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 246, 255, 0.92)) padding-box,
        linear-gradient(
            135deg,
            rgba(231, 126, 48, 0.42) 0%,
            rgba(231, 126, 48, 0.21) 48%,
            rgba(231, 126, 48, 0.1) 100%
        ) border-box;
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.10),
        0 0 22px rgba(231, 126, 48, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.service-card[data-service="ads"] .service-icon::before {
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 70% 80%, rgba(249, 115, 22, 0.15), rgba(255, 255, 255, 0) 62%);
}
.service-card[data-service="ads"] .service-icon::after {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.30) 48%,
            rgba(255, 255, 255, 0) 70%
        ),
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0) 20%,
            rgba(249, 115, 22, 0.15) 52%,
            rgba(255, 255, 255, 0) 82%
        ),
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.14) 0px,
            rgba(255, 255, 255, 0.14) 1px,
            transparent 1px,
            transparent 10px
        );
}
.service-card[data-service="ads"] .service-icon img {
    filter: drop-shadow(0 10px 18px rgba(249, 115, 22, 0.07));
}
.service-card[data-service="ads"]:hover .service-icon {
    background:
        radial-gradient(26px 26px at 28% 26%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 255, 0.94)) padding-box,
        linear-gradient(
            135deg,
            rgba(249, 115, 22, 0.72) 0%,
            rgba(249, 115, 22, 0.30) 48%,
            rgba(249, 115, 22, 0.16) 100%
        ) border-box;
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.14),
        0 0 28px rgba(249, 115, 22, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.88) inset;
}
.service-card[data-service="ads"]:hover .service-icon img {
    filter: drop-shadow(0 14px 24px rgba(249, 115, 22, 0.15));
}

.service-card[data-service="ecommerce"] .service-icon {
    border-radius: 999px;
    background:
        radial-gradient(26px 26px at 28% 26%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 246, 255, 0.92)) padding-box,
        linear-gradient(
            135deg,
            rgba(38, 170, 154, 0.44) 0%,
            rgba(38, 170, 154, 0.22) 48%,
            rgba(38, 170, 154, 0.1) 100%
        ) border-box;
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.10),
        0 0 22px rgba(38, 170, 154, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.service-card[data-service="ecommerce"] .service-icon::before {
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 70% 80%, rgba(20, 184, 166, 0.20), rgba(255, 255, 255, 0) 62%);
}
.service-card[data-service="ecommerce"] .service-icon::after {
    background:
        radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.28) 0px, rgba(255, 255, 255, 0) 42%),
        radial-gradient(circle at 56% 58%, rgba(20, 184, 166, 0.20) 0px, rgba(255, 255, 255, 0) 60%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.20) 0px, rgba(255, 255, 255, 0) 22px);
}
.service-card[data-service="ecommerce"] .service-icon img {
    filter: drop-shadow(0 10px 18px rgba(20, 184, 166, 0.09));
}
.service-card[data-service="ecommerce"]:hover .service-icon {
    background:
        radial-gradient(26px 26px at 28% 26%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 255, 0.94)) padding-box,
        linear-gradient(
            135deg,
            rgba(20, 184, 166, 0.78) 0%,
            rgba(20, 184, 166, 0.30) 48%,
            rgba(20, 184, 166, 0.16) 100%
        ) border-box;
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.14),
        0 0 28px rgba(20, 184, 166, 0.09),
        0 1px 0 rgba(255, 255, 255, 0.88) inset;
}
.service-card[data-service="ecommerce"]:hover .service-icon img {
    filter: drop-shadow(0 14px 24px rgba(20, 184, 166, 0.20));
}

.service-card h3,
.service-title {
    font-size: 1.2rem;
    line-height: 1.42;
    margin: 0;
    color: var(--ink-900);
    min-height: 2.5em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-card p,
.case-content p,
.service-list li,
.about-intro,
.company-info p,
.info-text p {
    color: var(--ink-500);
}

.service-card p {
    font-size: 0.94rem;
    line-height: 1.76;
    margin: 0;
    min-height: 3.4em;
    color: #586587;
}

.service-list {
    list-style: none;
    margin-top: auto;
    padding-top: 10px;
    padding-bottom: 24px;
    border-top: 1px dashed rgba(18, 53, 184, 0.12);
    margin-bottom: 2px;
}

.service-list li {
    font-size: 0.91rem;
    line-height: 1.6;
    padding: 7px 0 7px 21px;
    position: relative;
    color: #5a6686;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 1px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #1235b8, #3d63ff);
    box-shadow: 0 0 0 3px rgba(61, 99, 255, 0.12);
}

.service-cta {
    margin-top: 2px;
    margin-left: -3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    width: fit-content;
    border-radius: 999px;
    border: 1px solid rgba(18, 53, 184, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-700);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(18, 53, 184, 0.1);
    position: relative;
    z-index: 2;
}

.service-cta::before {
    content: counter(serviceIndex, decimal-leading-zero);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #fff;
    background: linear-gradient(135deg, #2342bc, #4e70e4);
    box-shadow: 0 6px 12px rgba(18, 53, 184, 0.16);
}

.service-cta::after {
    content: none;
}

.service-cta:hover {
    transform: translateY(-1px) translateX(3px);
    border-color: rgba(18, 53, 184, 0.4);
    background: rgba(240, 246, 255, 0.95);
    box-shadow: 0 6px 14px rgba(18, 53, 184, 0.14);
}

.case-content {
    padding: 22px 22px 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-content::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-top: 1px solid rgba(18, 53, 184, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
}

.case-content h3 {
    font-size: 1.14rem;
    line-height: 1.4;
    margin: 0;
    color: var(--ink-900);
}

.case-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.72;
}

.about-content,
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-subtitle,
.about-text .about-intro {
    max-width: 100%;
}

.about-text .section-kicker {
    margin-bottom: 12px;
}

.about-intro {
    font-size: 1.06rem;
    margin-bottom: 26px;
    line-height: 1.95;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.feature-item {
    text-align: center;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid rgba(61, 99, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.12);
}

.feature-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-700);
}

.feature-label {
    font-size: 0.92rem;
    color: var(--ink-500);
}

.company-info {
    padding: 18px 20px;
    background: var(--bg-soft);
    border-left: 4px solid var(--brand-700);
    border-radius: 12px;
}

.about-image {
    min-height: 360px;
    display: flex;
}

.about-image-card {
    width: 100%;
    height: 100%;
    min-height: 360px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(18, 53, 184, 0.16);
    box-shadow: 0 20px 40px rgba(3, 27, 108, 0.24);
}

.about-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(0, 18, 120, 0.08), rgba(61, 99, 255, 0.04)),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, rgba(0, 18, 120, 0.1) 100%);
    pointer-events: none;
}

.about-image-photo {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease, filter 0.35s ease;
}

.about-image-card:hover .about-image-photo {
    transform: scale(1.03);
    filter: brightness(1.04) saturate(1.03);
}

.case-image {
    height: 230px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease, filter 0.3s ease;
    border-bottom: 1px solid rgba(18, 53, 184, 0.12);
}

.case-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(4, 23, 95, 0.2) 100%);
}

.case-image::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 68px;
    background: linear-gradient(180deg, rgba(4, 23, 95, 0) 0%, rgba(4, 23, 95, 0.24) 100%);
}

.case-card:nth-child(1) .case-image {
    background-image:
        linear-gradient(120deg, rgba(10, 47, 168, 0) 0%, rgba(59, 109, 255, 0) 100%),
        url('../images/qiye.png');
    background-position: center top;
}

.case-card:nth-child(2) .case-image {
    background-image:
        linear-gradient(120deg, rgba(13, 43, 149, 0) 0%, rgba(47, 96, 240, 0) 100%),
        url('../images/dianshang.png');
    background-position: center top;
}

.case-card:nth-child(3) .case-image {
    background-image:
        linear-gradient(120deg, rgba(9, 35, 125, 0) 0%, rgba(45, 84, 211, 0) 100%),
        url('../images/xinxi.png');
    background-position: center top;
}

.case-card:hover .case-image {
    transform: scale(1.045);
    filter: saturate(1.05);
}

.cases-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: -10px 0 28px;
}

.case-tab {
    border: 1px solid rgba(18, 53, 184, 0.18);
    background: #fff;
    color: #1f2f67;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.case-tab:hover {
    border-color: rgba(61, 99, 255, 0.45);
    color: var(--brand-700);
    box-shadow: 0 6px 14px rgba(18, 53, 184, 0.12);
}

.case-tab.active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #1235b8 0%, #3d63ff 100%);
    box-shadow: 0 10px 22px rgba(18, 53, 184, 0.3);
}

.cases .case-card {
    border-radius: 20px;
    border: 1px solid rgba(18, 53, 184, 0.14);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.25s ease;
}

.cases .case-card:hover {
    border-color: rgba(61, 99, 255, 0.42);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.18);
}

.case-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.case-highlight {
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    letter-spacing: 0.02em;
    font-weight: 700;
    color: #0f2da7;
    border: 1px solid rgba(18, 53, 184, 0.2);
    background: linear-gradient(180deg, rgba(61, 99, 255, 0.12), rgba(61, 99, 255, 0.05));
    box-shadow: 0 5px 12px rgba(18, 53, 184, 0.12);
}

.case-tag {
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #0f2da7;
    background: rgba(61, 99, 255, 0.12);
    border: 1px solid rgba(61, 99, 255, 0.2);
}

.case-content h3 {
    margin: 0;
    font-size: 1.14rem;
    line-height: 1.4;
}

.case-content p {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.94rem;
    line-height: 1.7;
    min-height: 3.2em;
}

.case-link {
    margin-top: 2px;
    width: fit-content;
    text-decoration: none;
    color: var(--brand-700);
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.case-link::after {
    content: '->';
    transition: transform 0.25s ease;
}

.case-link:hover::after {
    transform: translateX(3px);
}

.case-card.is-hidden {
    display: none;
}

.cases-grid.is-filtered {
    grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
    justify-content: center;
}

.cases-grid.is-filtered .case-card {
    width: min(100%, 380px);
    margin-inline: auto;
}

.cases-grid.is-filtered .case-image {
    height: auto;
    aspect-ratio: 16 / 9;
}

.cases-grid.is-filtered .case-card:not(.is-hidden) {
    animation: caseCardIn 220ms ease-out both;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s cubic-bezier(0.2, 0.65, 0.2, 1),
        transform 0.65s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(18, 53, 184, 0.14);
    background:
        radial-gradient(circle at 8% 12%, rgba(61, 99, 255, 0.14), transparent 36%),
        linear-gradient(160deg, #ffffff 0%, #f8faff 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.contact-map {
    position: relative;
    min-height: 120px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(61, 99, 255, 0.18);
    background:
        linear-gradient(rgba(61, 99, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 99, 255, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, #eef3ff 0%, #f8faff 100%);
    background-size: 30px 30px, 30px 30px, 100% 100%;
}

.map-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    right: -32px;
    top: -24px;
    background: radial-gradient(circle, rgba(61, 99, 255, 0.26), rgba(61, 99, 255, 0));
}

.map-pin {
    position: absolute;
    left: 24%;
    top: 58%;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #2242c4;
    box-shadow: 0 0 0 0 rgba(34, 66, 196, 0.4);
    animation: pinPulse 2s ease-out infinite;
}

.map-card {
    position: absolute;
    right: 14px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(18, 53, 184, 0.2);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.map-card strong {
    font-size: 0.84rem;
    color: #12235a;
}

.map-card span {
    font-size: 0.78rem;
    color: #4f5f86;
}

.contact-info-head {
    margin-bottom: 4px;
}

.contact-info-head h3 {
    margin: 0 0 6px;
    font-size: 1.22rem;
    color: var(--ink-900);
}

.contact-info-head p {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.95rem;
    line-height: 1.75;
}

.info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(18, 53, 184, 0.16);
}

.info-item:last-child {
    border-bottom: 0;
}

.info-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(61, 99, 255, 0.1);
    border: 1px solid rgba(18, 53, 184, 0.14);
}

.info-icon img {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.info-text h4 {
    margin-bottom: 6px;
    font-size: 1.02rem;
    color: var(--ink-900);
}

.info-text p {
    margin: 0;
    line-height: 1.72;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.98));
    border: 1px solid rgba(18, 53, 184, 0.14);
    border-radius: 20px;
    box-shadow: 0 16px 34px rgba(16, 24, 40, 0.1);
}

.contact-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 2px;
    border-radius: 10px;
    background: rgba(61, 99, 255, 0.08);
    border: 1px solid rgba(18, 53, 184, 0.14);
    color: #0f2da7;
    font-size: 0.88rem;
    line-height: 1.6;
    font-weight: 600;
}

.contact-note img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 15px;
    border: 1px solid #d6dcea;
    border-radius: 12px;
    font-size: 0.98rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(61, 99, 255, 0.12), 0 8px 20px rgba(61, 99, 255, 0.08);
    transform: translateY(-1px);
}

.contact-form button {
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #0f2da7 0%, #3d63ff 100%);
    color: #fff;
    font-size: 1.02rem;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    margin-top: 6px;
    align-self: flex-start;
    min-width: 150px;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(7, 32, 117, 0.34);
}

.contact-form button.is-loading {
    opacity: 0.88;
    cursor: wait;
}

.form-feedback {
    display: none;
    margin: 2px 0 0;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: #0b6b34;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.form-feedback.show {
    display: block;
}

.contact-privacy {
    margin: 2px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #4f5f86;
    line-height: 1.65;
}

.contact-privacy img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer {
    background:
        radial-gradient(circle at 20% 14%, rgba(61, 99, 255, 0.26), transparent 40%),
        linear-gradient(160deg, #0b1223 0%, #0f172a 100%);
    color: #fff;
    padding: 42px 0 22px;
}

.services,
.cases {
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.footer-info h3 {
    margin-bottom: 8px;
}

.footer-info p,
.footer-bottom,
.footer-links a {
    color: #a6b0c3;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom a,
.footer-bottom a:visited {
    color: #8fb0ff;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #c2d4ff;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .brand-name {
        font-size: 0.86rem;
    }

    .nav-menu {
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        min-height: 70px;
    }

    :root {
        --nav-offset: 84px;
    }

    .logo {
        height: 36px;
    }

    .brand-name {
        font-size: 0.78rem;
        max-width: 220px;
        white-space: normal;
        line-height: 1.2;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: flex;
        position: absolute;
        top: 70px;
        right: 24px;
        width: min(260px, calc(100% - 48px));
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(16, 24, 40, 0.16);
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top right;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.22s ease, visibility 0.2s ease;
    }

    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .nav-menu li {
        border-bottom: 1px solid #eef1f6;
    }

    .nav-menu li:last-child {
        border-bottom: 0;
    }

    .nav-link {
        display: block;
        padding: 14px 16px;
        min-height: 44px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-trustbar {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    section {
        padding: 72px 0;
    }

    section::before {
        width: calc(100% - 40px);
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-info,
    .contact-form form {
        padding: 22px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-image,
    .about-image-card,
    .about-image-photo {
        min-height: 280px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-card-bg {
        background-size: clamp(118px, 36%, 180px) auto;
        background-position: right -6px bottom -10px;
        opacity: 0.3;
    }

    .services-flow {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px;
    }

    .services-flow::before {
        display: none;
    }

    .flow-step {
        padding: 10px;
        background: rgba(61, 99, 255, 0.04);
    }

    .section-kicker {
        font-size: 0.73rem;
    }

    .service-card p {
        min-height: auto;
    }

    .service-list {
        padding-bottom: 18px;
    }

    .service-card h3,
    .service-title {
        min-height: auto;
    }

    .footer-content {
        flex-direction: column;
    }

    .services-grid {
        overflow: visible;
        overflow-x: visible;
        overflow-y: visible;
        scroll-snap-type: none;
        padding: 6px 0 10px;
    }

    .services-grid::before,
    .services-grid::after {
        display: none;
    }

    .services-track {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        min-width: 0;
        width: 100%;
        flex: initial;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 16px;
    }

    .nav-brand {
        gap: 8px;
    }

    .brand-name {
        max-width: 170px;
        font-size: 0.72rem;
    }

    .nav-menu {
        right: 16px;
        width: calc(100% - 32px);
        max-height: min(72vh, 420px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hero {
        min-height: auto;
        min-height: calc(100dvh - 56px);
        padding-top: calc(88px + env(safe-area-inset-top));
        padding-bottom: 32px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.72rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.96rem;
        margin-bottom: 1.6rem;
    }

    .hero-trustbar {
        max-width: 100%;
        gap: 8px;
    }

    .hero-trustbar span {
        font-size: 0.72rem;
        padding: 6px 10px;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
        min-height: 44px;
    }

    .services-flow {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-width: 0;
        flex-basis: auto;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form form {
        padding: 18px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }

    .info-text p,
    .company-info p {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-links {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom p {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 400px) {
    .brand-name {
        display: none;
    }

    .logo {
        height: 32px;
    }

    .hero-title {
        font-size: 1.56rem;
    }

    .hero-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.07em;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .nav-menu {
        right: 12px;
        width: calc(100% - 24px);
    }

    .hero {
        padding-top: 84px;
    }

    .hero-title {
        font-size: 1.42rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-metric {
        padding: 12px 8px 10px;
    }

    .section-title {
        font-size: 1.36rem;
    }

    .section-subtitle {
        font-size: 0.92rem;
    }

    .service-card {
        min-width: 0;
        flex-basis: auto;
        padding: 18px 16px;
        border-radius: 16px;
    }

    .service-list li,
    .case-content p,
    .info-text p,
    .contact-privacy {
        font-size: 0.9rem;
    }

    .contact-info,
    .contact-form form {
        padding: 14px;
        border-radius: 14px;
    }

    .about-image,
    .about-image-card,
    .about-image-photo {
        min-height: 220px;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.3rem;
    }

    .brand-name {
        display: none;
    }

    .nav-link {
        padding-left: 12px;
        padding-right: 12px;
    }

    .service-card {
        min-width: 0;
        flex-basis: auto;
    }

    .btn {
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .service-card:hover,
    .case-card:hover,
    .feature-item:hover,
    .flow-step:hover {
        transform: none;
        box-shadow: inherit;
    }
}

@keyframes heroBreath {
    0% {
        filter: saturate(0.98) brightness(0.98);
    }
    100% {
        filter: saturate(1.06) brightness(1.03);
    }
}

@keyframes gridFloat {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-58px, 0, 0);
    }
}

@keyframes pinPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 66, 196, 0.36);
    }
    100% {
        box-shadow: 0 0 0 16px rgba(34, 66, 196, 0);
    }
}

@keyframes flowStepIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes caseCardIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flowSweep {
    from {
        transform: translateX(-120%);
    }
    to {
        transform: translateX(120%);
    }
}

@keyframes linkedPulse {
    0% {
        box-shadow:
            0 22px 50px rgba(15, 23, 42, 0.16),
            0 0 0 0 rgba(61, 99, 255, 0.18),
            0 2px 0 rgba(255, 255, 255, 0.78) inset;
    }
    50% {
        box-shadow:
            0 28px 58px rgba(15, 23, 42, 0.2),
            0 0 0 6px rgba(61, 99, 255, 0.1),
            0 2px 0 rgba(255, 255, 255, 0.78) inset;
    }
    100% {
        box-shadow:
            0 22px 50px rgba(15, 23, 42, 0.16),
            0 0 0 0 rgba(61, 99, 255, 0.18),
            0 2px 0 rgba(255, 255, 255, 0.78) inset;
    }
}

@keyframes linkedPulseDark {
    0% {
        box-shadow:
            0 22px 50px rgba(0, 0, 0, 0.44),
            0 0 0 0 rgba(98, 126, 255, 0.2),
            0 2px 0 rgba(255, 255, 255, 0.08) inset;
    }
    50% {
        box-shadow:
            0 28px 58px rgba(0, 0, 0, 0.52),
            0 0 0 7px rgba(98, 126, 255, 0.12),
            0 2px 0 rgba(255, 255, 255, 0.08) inset;
    }
    100% {
        box-shadow:
            0 22px 50px rgba(0, 0, 0, 0.44),
            0 0 0 0 rgba(98, 126, 255, 0.2),
            0 2px 0 rgba(255, 255, 255, 0.08) inset;
    }
}



