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

body {
    background-color: #EEF4FF;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.main {
    width: 100%;
    background-color: #EEF4FF;
    padding: 1.5rem 0 3rem 0;
    overflow-x: hidden;
}

.header {
    width: 100%;
    text-align: center;
    padding: 0 1rem;
}

.title1 {
    font-size: clamp(2rem, 8vw, 40px);
    font-weight: bold;
    letter-spacing: 0.02em;
    color: #161C2D;
    margin-bottom: 0.6rem;
    line-height: 1.3;
    text-align: center;
}

.title2 {
    font-size: clamp(0.9rem, 3vw, 16px);
    font-weight: 400;
    color: #6B707A;
    letter-spacing: 0.01em;
    text-align: center;
    margin-top: 0.2rem;
    margin-bottom: 56px;
}

.center {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 338px;
    height: auto;
    min-height: 444px;
    background: radial-gradient(0% 0% at 0% 0%, #F3FAFF 0%, #FFFFFF 67.82%), #1D74FE;
    box-shadow: 2px 0px 2px 0px rgba(212, 212, 212, 0.56);
    border-radius: 20px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 19px 20px;
    position: relative;
    margin: 0 auto;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

/* 鼠标悬停 & 移动端点击 - 使用背景图，无边框无滑动动画 */
.card:hover,
.card:active {
    background: url('../image/behavior/Frosted.png') no-repeat center;
    background-position: center;
    border: none;
    outline: none;
    box-shadow: 2px 0px 2px 0px rgba(212, 212, 212, 0.56);
    transition: none;
}

/* 装饰条 - 悬停时变白 */
.card:hover .bar,
.card:active .bar {
    background: #F3FAFF;
    transition: background 0.3s ease;
}

/* 卡片标题 - 悬停时变白 */
.card:hover .card-title,
.card:active .card-title {
    color: #FFFFFF;
    transition: color 0.3s ease;
}

/* 描述文字 - 悬停时变白 */
.card:hover .desc-row .desc-text,
.card:active .desc-row .desc-text {
    color: #FFFFFF;
    transition: color 0.3s ease;
}

/* 小方块 - 悬停时变白 */
.card:hover .desc-row .icon-dot,
.card:active .desc-row .icon-dot {
    background: #F3FAFF;
    transition: background 0.3s ease;
}

.card img {
    margin-top: 20px;
    width: 100%;
    height: 160px;
    /*object-fit: cover;*/
    display: block;
    flex-shrink: 0;
    max-width: 100%;
}

/* 装饰条 */
.card .bar {
    width: 39px;
    height: 5px;
    background: #065CFE;
    border-radius: 3px 3px 3px 3px;
    margin-top: 40px;
    flex-shrink: 0;
}

/* 卡片底部标题 */
.card .card-title {
    font-family: 'SourceHanSansCN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: bold;
    font-size: clamp(1.1rem, 2.5vw, 22px);
    color: #161C2D;
    line-height: 1.4;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-top: 0;
    width: 100%;
    padding: 0 4px;
}

/* 卡片描述行 */
.card .desc-row {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding-left: 6px;
    margin-top: 4px;
    flex-shrink: 0;
}

.card .desc-row .icon-dot {
    width: 10px;
    height: 10px;
    background: #065CFE;
    flex-shrink: 0;
    margin-right: 10px;
    margin-top: 6px;
    border-radius: 2px;
    min-width: 10px;
}

.card .desc-row .desc-text {
      font-size: 18px;
    font-family: 'SourceHanSansCN', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-weight: 400;
    font-size: clamp(0.75rem, 1.8vw, 16px);
    color: #6B707A;
    line-height: 1.5;
    text-align: left;
    font-style: normal;
    text-transform: none;
    width: 100%;
    word-break: break-word;
}

/* 平板及小屏设备：两列 */
@media (max-width: 820px) {
    .center {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 0 1rem;
    }

    .card {
        max-width: 100%;
        min-height: 230px;
        padding: 0 16px 20px;
    }

    .card img {
        height: 150px;
    }

    .card .bar {
        margin-top: 30px;
    }

    .card .card-title {
        font-size: clamp(1rem, 2.2vw, 20px);
    }

    .card .desc-row .desc-text {
        font-size: clamp(0.7rem, 1.6vw, 15px);
    }
}

/* 手机端：两列，图片自适应 */
@media (max-width: 480px) {
    .main {
        padding: 1rem 0 2rem 0;
    }

    .center {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 0.5rem;
    }

    .card {
        max-width: 100%;
        padding: 0 10px 14px;
        border-radius: 16px;
    }

    .card img {
        width: 100%;
        height: auto;
        object-fit: contain;
        margin-top: 12px;
        display: block;
        flex-shrink: 0;
        max-width: 100%;
    }

    .card .bar {
        margin-top: 24px;
        width: 32px;
        height: 4px;
    }

    .card .card-title {
        font-size: clamp(0.85rem, 3.6vw, 17px);
        line-height: 1.3;
        margin-top: 2px;
    }

    .card .desc-row {
        padding-left: 4px;
        margin-top: 2px;
    }

    .card .desc-row .desc-text {
        font-size: clamp(0.6rem, 2.4vw, 13px);
        line-height: 1.4;
    }

    .card .desc-row .icon-dot {
        width: 8px;
        height: 8px;
        min-width: 8px;
        margin-right: 7px;
        margin-top: 4px;
    }
}

/* 超小屏（< 380px） */
@media (max-width: 380px) {
    .center {
        gap: 0.6rem;
        padding: 0 0.3rem;
    }

    .card {
        padding: 0 6px 10px;
        border-radius: 12px;
    }

    .card img {
        margin-top: 10px;
    }

    .card .bar {
        margin-top: 18px;
        width: 26px;
        height: 3px;
    }

    .card .card-title {
        font-size: clamp(0.7rem, 3vw, 14px);
    }

    .card .desc-row .desc-text {
        font-size: clamp(0.5rem, 2vw, 11px);
        line-height: 1.3;
    }

    .card .desc-row .icon-dot {
        width: 7px;
        height: 7px;
        min-width: 7px;
        margin-right: 5px;
        margin-top: 3px;
    }
}