.protect {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.protect__content {
    margin-top: 60px;
    position: relative;
    width: 100%;
    height: auto;
    /* 固定高度 */
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protect__cards {
    width: 100%;
    max-width: 1100px;
    height: 100%;
    margin: 0 auto;
}

.protect__card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    height: 480px;
    margin-top: 60px;
    box-shadow: 0px 4px 16px rgba(29, 41, 61, 0.2);
    border-radius: 32px;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    /* 啟用硬體加速，減少拖動抖動 */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    /* 設置縮放中心點，確保縮放動畫平滑 */
    transform-origin: center center;
    /* 優化渲染效能 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.protect__card--1 {
    background: #BBD3FB;
    color: #FFFFFF;
}

.protect__card--2 {
    background: #f9cfd8;
    color: #FFFFFF;
}

.protect__card-left-container {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 64px;
}

.protect__card-content {
    text-align: center;
}

.protect__card-title {
    font-weight: 700;
    font-size: 42px;
    line-height: 1.4;
    display: flex;
    align-items: center;
    color: #3F3E4C;
    text-shadow: 0px 4px 13.2px #FFFFFF;
    margin-bottom: 40px;
}

.protect__card-tags {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.protect__card-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 8px;
    height: 40px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #171E40;
}

.protect__card-tag img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.protect__card-description {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #000000;
    text-align: left;
}

.protect__card-right-container {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    border-radius: 0 32px 32px 0;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.protect__card-right-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: translate(0, -15%) scale(1.1);
}

.protect__card-bell-icon {
    position: absolute;
    top: 90%;
    left: 0;
    transform: translate(-100%, -50%);
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.protect__card-lock-icon {
    position: absolute;
    top: 90%;
    right: 4%;
    transform: translate(100%, -50%);
    width: 170px;
    height: 170px;
    object-fit: contain;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .protect {
        padding: 80px 0;
    }

    .protect__card {
        display: block;
        width: calc(100% - 32px);
        height: 100%;
        padding: 36px 24px;
        overflow: hidden;
        margin-left: auto;
        margin-right: auto;
    }

    .protect__card-left-container {
        width: 100%;
        padding: 0;
    }

    .protect__card-title {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .protect__card-description {
        font-size: 16px;
    }

    .protect__card-right-container {
        width: 100%;
        height: 50%;
        margin-top: 20%;
    }
}