.sf-categories--lift .sf-categories__card,
.sf-categories--lift .sf-cats__card {
transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.sf-categories--lift .sf-categories__card:hover,
.sf-categories--lift .sf-cats__card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 42px -18px rgba(var(--primary-rgb), 0.32);
}
.sf-categories--glass .sf-categories__card,
.sf-categories--glass .sf-cats__card {
background: color-mix(in srgb, var(--surface, #fff) 78%, transparent);
backdrop-filter: blur(14px);
}
.sf-categories--overlay-depth .sf-categories__card-overlay,
.sf-categories--overlay-depth .sf-cats__media::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,0.46) 100%);
pointer-events: none;
}
.sf-categories--image-enhance .sf-categories__card-img,
.sf-categories--image-enhance .sf-cats__img {
filter: saturate(0.96) contrast(0.96);
transition: transform 0.42s ease, filter 0.42s ease;
}
.sf-categories--image-enhance .sf-categories__card:hover .sf-categories__card-img,
.sf-categories--image-enhance .sf-cats__card:hover .sf-cats__img {
filter: saturate(1.12) contrast(1.04);
transform: scale(1.06);
}
.sf-categories--stagger .sf-categories__card,
.sf-categories--stagger .sf-cats__card {
opacity: 0;
animation: categories-stagger-in 0.5s ease forwards;
}
.sf-categories--stagger .sf-categories__card:nth-child(1),
.sf-categories--stagger .sf-cats__card:nth-child(1) { animation-delay: 0s; }
.sf-categories--stagger .sf-categories__card:nth-child(2),
.sf-categories--stagger .sf-cats__card:nth-child(2) { animation-delay: 0.08s; }
.sf-categories--stagger .sf-categories__card:nth-child(3),
.sf-categories--stagger .sf-cats__card:nth-child(3) { animation-delay: 0.16s; }
.sf-categories--stagger .sf-categories__card:nth-child(4),
.sf-categories--stagger .sf-cats__card:nth-child(4) { animation-delay: 0.24s; }
.sf-categories--stagger .sf-categories__card:nth-child(5),
.sf-categories--stagger .sf-cats__card:nth-child(5) { animation-delay: 0.32s; }
.sf-categories--stagger .sf-categories__card:nth-child(6),
.sf-categories--stagger .sf-cats__card:nth-child(6) { animation-delay: 0.4s; }
@keyframes categories-stagger-in {
from { opacity: 0; transform: translateY(18px); }
to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
.sf-categories--lift .sf-categories__card,
.sf-categories--lift .sf-cats__card,
.sf-categories--image-enhance .sf-categories__card-img,
.sf-categories--image-enhance .sf-cats__img {
transition: none;
}
.sf-categories--stagger .sf-categories__card,
.sf-categories--stagger .sf-cats__card {
animation: none;
opacity: 1;
}
}
.sf-features__subtitle {
text-align: center;
font-size: 15px;
color: var(--muted-foreground);
max-width: 500px;
margin: -8px auto 20px;
line-height: 1.6;
}
.sf-features .card { text-align: center; }
.sf-features__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 56px;
height: 56px;
font-size: 28px;
border-radius: 14px;
background: rgba(var(--primary-rgb), 0.08);
margin-bottom: 16px;
transition: transform var(--transition-normal, 250ms), box-shadow var(--transition-normal, 250ms);
}
.sf-features .card:hover .sf-features__icon {
transform: scale(1.15) rotate(3deg);
box-shadow: var(--shadow-glow);
}
.sf-features .card__title { margin-bottom: 8px; }
.sf-features .card__desc {
font-size: 14px;
line-height: 1.7;
color: var(--muted-foreground);
}
.sf-features--compact .card__body { padding: 20px 16px; }
.sf-features--compact .sf-features__icon { width: 44px; height: 44px; font-size: 18px; border-radius: 10px; }
@media (max-width: 768px) {
.sf-features .heading { font-size: 24px; }
.sf-features__subtitle { font-size: 13px; margin-bottom: 16px; }
.sf-features__icon { width: 48px; height: 48px; font-size: 22px; margin-bottom: 12px; }
.sf-features .card__title { font-size: 15px; }
.sf-features .card__desc { font-size: 13px; }
}
@media (max-width: 480px) {
.sf-features__icon { width: 42px; height: 42px; font-size: 20px; }
}
.sf-features--icon-animate .card__icon {
transition: transform 0.4s var(--ease-elastic-out-2, ease), box-shadow 0.4s ease;
}
.sf-features--icon-animate .card:hover .card__icon {
transform: scale(1.15) rotate(5deg);
box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.25);
}
.sf-features--card-glow .card:hover {
box-shadow:
0 0 15px rgba(var(--primary-rgb), 0.12),
0 8px 24px rgba(0,0,0,0.08);
border-color: rgba(var(--primary-rgb), 0.2);
}
.sf-features--glass .card {
background: rgba(255,255,255,0.04);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,0.08);
}
.sf-features--stagger .card {
opacity: 0;
animation: features-card-in 0.5s ease forwards;
}
.sf-features--stagger .card:nth-child(1) { animation-delay: 0s; }
.sf-features--stagger .card:nth-child(2) { animation-delay: 0.1s; }
.sf-features--stagger .card:nth-child(3) { animation-delay: 0.15s; }
.sf-features--stagger .card:nth-child(4) { animation-delay: 0.2s; }
.sf-features--stagger .card:nth-child(5) { animation-delay: 0.25s; }
.sf-features--stagger .card:nth-child(6) { animation-delay: 0.3s; }
@keyframes features-card-in {
from { opacity: 0; transform: translateY(20px) scale(0.95); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
.sf-features--neon-icon .card__icon {
box-shadow:
0 0 10px rgba(var(--primary-rgb), 0.3),
inset 0 0 10px rgba(var(--primary-rgb), 0.1);
}
.sf-features--accent-line .card {
border-top: 3px solid transparent;
transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.sf-features--accent-line .card:hover {
border-top-color: var(--primary);
}
@media (prefers-reduced-motion: reduce) {
.sf-features--stagger .card { animation: none; opacity: 1; }
}