:root {
    --bg: #f6f6f6;
    --panel: #ffffff;
    --line: #e6ebf2;
    --text: #1f2d3d;
    --muted: #7d8ca1;
    --blue: #0f69ff;
    --blue-deep: #0a3d91;
    --orange: #ff7b1a;
    --footer: #1f2024;
    --shadow: 0 12px 28px rgba(15, 59, 124, 0.08);
    --radius: 8px;
    --wrap: 1200px;
}

* {
    box-sizing: border-box;
}

body {
    font: 14px/1.7 "Microsoft YaHei", "PingFang SC", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.e-commerce-wrap {
    width: min(var(--wrap), calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    background: url(../../RPA/images/ec/ec-banner.jpg) no-repeat center;
    background-size: cover;
}


.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    text-align: center;
    color: #fff;
}

.hero-copy {
    max-width: 640px;
}

.hero-copy p {
    margin-bottom: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.hero-copy h1 {
    margin-bottom: 14px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-copy .sub {
    margin-bottom: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
}

.hero-copy .btn {
    display: inline-block;
    min-width: 110px;
    padding: 6px 26px;
    border-radius: 3px;
    background: linear-gradient(180deg, #ff942d, #ff6c00);
    color: #fff;
    font-weight: 700;
}

.hero-copy .btn:hover{
    border-radius: 20px;
}

.card-visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.card-visual img:not([src=""])+.img-placeholder {
    display: none;
}

.hero-lines {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 96%, rgba(255, 255, 255, 0.08) 96%),
        linear-gradient(90deg, transparent 96%, rgba(255, 255, 255, 0.05) 96%);
    background-size: 100% 56px, 56px 100%;
    opacity: 0.25;
    pointer-events: none;
}

.section {
    padding: 56px 0;
}

.solutions {
    padding-top: 34px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 59, 124, 0.12);
    border: 1px solid #165DFF;
}

.card-visual {
    height: 150px;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    padding: 18px;
    box-sizing: border-box;
}

.card-body {
    padding: 18px 18px 22px;
}

.card h3 {
    min-height: 38px;
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.card:hover h3 {
    color: #165DFF;
}

.card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.card:hover p {
    color: #165DFF;
}


.replace-note {
    padding: 26px 0 10px;
    text-align: center;
    color: #1d1f23;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}

.replace-slot {
    height: 140px;
    margin: 8px auto 0;
    border: 1px dashed #d6deea;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 249, 252, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9aa8bb;
    font-size: 14px;
}

.recommend {
    text-align: center;
    padding-top: 26px;
    padding-bottom: 70px;
}

.section-title {
    margin-bottom: 38px;
    font-size: 32px;
    font-weight: 700;
    color: #2a2c31;
    text-align: center;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.recommend-item {
    padding: 20px 10px 18px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(10, 48, 111, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recommend-item:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15, 59, 124, 0.12);
}

.recommend-item h4 {
    color: #1D2129;
    text-align: center;
    font-family: "PingFang SC";
    font-size: 16px;
    font-style: normal;
    line-height: normal;
    margin-top: 10px;
}

.recommend-link {
    color: #4f86ff;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recommend-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-copy h1 {
        font-size: 30px;
    }

}

@media (max-width: 768px) {
    .e-commerce-wrap {
        width: calc(100% - 24px);
    }

    .hero {
        min-height: 280px;
    }

    .hero-inner {
        min-height: 280px;
        padding: 36px 0;
        justify-content: center;
        text-align: center;
    }

    .hero-copy h1 {
        font-size: 26px;
    }

    .hero-copy .sub {
        margin-bottom: 18px;
    }

    .section {
        padding: 38px 0;
    }

    .solutions {
        padding-top: 24px;
    }

    .grid,
    .recommend-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card-visual {
        height: 170px;
    }

    .card h3 {
        min-height: auto;
        font-size: 17px;
    }

    .replace-note {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .replace-slot {
        height: 96px;
        padding: 0 16px;
        text-align: center;
    }

    .section-title {
        margin-bottom: 22px;
        font-size: 24px;
    }

    .recommend {
        padding-top: 10px;
        padding-bottom: 44px;
    }
}