/* =========================================================
   CARD SWAP — vanilla port (no GSAP dependency)
   ========================================================= */
.cs-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 340px;
    margin: 0 auto;
    perspective: 1000px;
    align-self: end;
}

.cs-container {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.cs-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 220px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.cs-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eaf0ff;
    color: #2a63ff;
}

.cs-card-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cs-card-num {
    position: absolute;
    top: 24px;
    right: 26px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
}

.cs-card h3 {
    margin: 0;
    font-size: 1.06rem;
    font-weight: 700;
    color: #0f172a;
}

.cs-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #64748b;
}

@media (max-width: 560px) {
    .cs-wrap {
        max-width: 100%;
        height: 300px;
        transform: scale(0.9);
    }
}
