/*
 * @package BusinessSaleTheme
 * Extracted from: sections-featured-franchises.css
 */
/* ── Section ── */
.ff-section {
    position: relative;
    padding: 5rem 1.5rem;
    background: #050505;
    overflow: hidden;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Ambient glows */
.ff-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.ff-glow-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52,211,153,0.05), transparent 70%);
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}
.ff-glow-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(250,204,21,0.03), transparent 70%);
    bottom: -80px;
    right: -60px;
}

.ff-container {
    max-width: 64rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── Header ── */
.ff-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.ff-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #34d399;
    margin-bottom: 0.625rem;
}
.ff-title {
    margin: 0 0 0.375rem;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.15;
}
.ff-desc {
    margin: 0;
    font-size: 0.9375rem;
    color: #a1a1aa;
    line-height: 1.5;
}
.ff-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    color: #a1a1aa;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s;
    flex-shrink: 0;
}
.ff-view-all:hover {
    border-color: rgba(52,211,153,0.2);
    color: #6ee7b7;
    background: rgba(52,211,153,0.05);
}
.ff-view-all svg {
    transition: transform 0.2s;
}
.ff-view-all:hover svg {
    transform: translateX(2px);
}

/* ── Grid ── */
.ff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

/* ── Card ── */
.ff-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0;
    transform: translateY(20px);
}
.ff-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--delay),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) var(--delay),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.35s ease;
}
.ff-card:hover {
    background: rgba(255,255,255,0.035);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    transform: translateY(-4px);
}
.ff-card.visible:hover {
    transition-delay: 0s;
}

/* ── Image ── */
.ff-card-img {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0a0a0a;
}
.ff-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s;
    filter: brightness(0.8) saturate(0.85);
}
.ff-card:hover .ff-card-img img {
    transform: scale(1.06);
    filter: brightness(0.92) saturate(1);
}
.ff-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #0f0f11;
    color: #27272a;
}
.ff-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,0.7) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Badges */
.ff-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    gap: 0.375rem;
    z-index: 2;
}
.ff-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.ff-badge-featured {
    background: rgba(250,204,21,0.12);
    border: 1px solid rgba(250,204,21,0.2);
    color: #facc15;
}
.ff-badge-verified {
    background: rgba(52,211,153,0.1);
    border: 1px solid rgba(52,211,153,0.15);
    color: #34d399;
}

/* Category tag */
.ff-cat-tag {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
    color: #34d399;
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 2;
}

/* ── Body ── */
.ff-card-body {
    padding: 1.125rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Name */
.ff-name {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.ff-name a {
    color: #e4e4e7;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ff-card:hover .ff-name a {
    color: #ffffff;
}

/* Investment */
.ff-investment {
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
    padding: 0.625rem 0;
}
.ff-inv-label {
    font-size: 0.625rem;
    color: #3f3f46;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}
.ff-inv-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #34d399;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
}

/* Stats row */
.ff-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.ff-stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    color: #52525b;
}
.ff-stat svg {
    color: #3f3f46;
    flex-shrink: 0;
}
.ff-stat strong {
    color: #a1a1aa;
    font-weight: 600;
}

/* Support rating bar */
.ff-support {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.ff-support-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ff-support-label {
    font-size: 0.6875rem;
    color: #52525b;
    font-weight: 500;
}
.ff-support-val {
    font-size: 0.75rem;
    font-weight: 600;
    color: #34d399;
    font-variant-numeric: tabular-nums;
}
.ff-support-bar {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.04);
    border-radius: 100px;
    overflow: hidden;
}
.ff-support-fill {
    height: 100%;
    width: 0;
    border-radius: 100px;
    background: linear-gradient(90deg, #059669, #34d399);
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.ff-support-fill.animated {
    width: var(--fill);
}

/* Star rating */
.ff-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ff-stars {
    display: flex;
    align-items: center;
    gap: 1px;
}
.ff-star {
    display: block;
    flex-shrink: 0;
}
.ff-rating-text {
    font-size: 0.75rem;
    color: #a1a1aa;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.ff-rating-text strong {
    color: #e4e4e7;
    font-weight: 600;
}
.ff-rating-sep {
    color: #27272a;
}

/* Description */
.ff-desc {
    margin: 0;
    font-size: 0.8125rem;
    color: #a1a1aa;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* CTA */
.ff-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.6875rem 1rem;
    border-radius: 10px;
    background: rgba(52,211,153,0.06);
    border: 1px solid rgba(52,211,153,0.12);
    color: #6ee7b7;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
    margin-top: 0.125rem;
}
.ff-cta:hover {
    background: rgba(52,211,153,0.1);
    border-color: rgba(52,211,153,0.2);
    color: #a7f3d0;
}
.ff-cta svg {
    transition: transform 0.2s;
}
.ff-cta:hover svg {
    transform: translateX(2px);
}

/* ── Empty State ── */
.ff-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 4rem 2rem;
    text-align: center;
    color: #3f3f46;
}
.ff-empty-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 0.5rem;
}
.ff-empty p {
    font-size: 0.9375rem;
    margin: 0;
}
.ff-empty-link {
    font-size: 0.8125rem;
    color: #34d399;
    text-decoration: none;
    transition: color 0.2s;
}
.ff-empty-link:hover {
    color: #6ee7b7;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .ff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ff-section {
        padding: 3.5rem 1rem;
    }
    .ff-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.75rem;
    }
    .ff-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .ff-card-img {
        aspect-ratio: 16 / 9;
    }
    .ff-card-body {
        padding: 1rem;
    }
    .ff-inv-value {
        font-size: 1.125rem;
    }
    .ff-stats {
        gap: 0.75rem;
    }
    .ff-stat {
        font-size: 0.75rem;
    }
}

