.sc-afcf2552-wrapper {
    width: 100%;
}

.sc-afcf2552-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.sc-afcf2552-card {
    position: relative;
    padding: 40px 30px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    min-height: 280px;
}

/* Accent bottom curves inspired by image */
.sc-afcf2552-curve {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--card-accent-color);
    transition: all 0.4s ease;
    z-index: 1;
}

.sc-afcf2552-icon-wrap,\n.sc-afcf2552-title,\n.sc-afcf2552-sub {
    position: relative;
    z-index: 2;
}

.sc-afcf2552-icon-wrap {
    font-size: 32px;
    line-height: 1;
    color: var(--card-icon-color);
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.sc-afcf2552-icon-wrap svg {
    width: 32px;
    height: 32px;
    fill: var(--card-icon-color);
}

.sc-afcf2552-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: var(--card-text-color);
}

.sc-afcf2552-sub {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: var(--card-desc-color);
    white-space: pre-line;
}

/* Hover Effects */
.sc-afcf2552-card.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.sc-afcf2552-card.hover-scale:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.sc-afcf2552-card.hover-glow:hover {
    box-shadow: 0 0 20px var(--card-icon-color);
}

.sc-afcf2552-card.hover-tilt:hover {
    transform: rotate(1deg) translateY(-4px);
}

.sc-afcf2552-card:hover .sc-afcf2552-curve {
    transform: scale(1.2);
}

.sc-afcf2552-card:hover .sc-afcf2552-icon-wrap {
    transform: scale(1.1);
}

/* Motion Entrance Effects (Observer triggered via simple class) */
.sc-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sc-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sc-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.sc-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

@media (max-width: 991px) {
    .sc-afcf2552-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .sc-afcf2552-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
