/* Success Stories Styles */
.success-stories {
    background: var(--background);
}

/* Social Proof Badge */
.social-proof-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.badge-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent);
    font-family: 'Satoshi', system-ui, sans-serif;
}

.badge-text {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Carousel Container */
.success-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

.success-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.success-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--surface);
    border-radius: 16px;
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.28s cubic-bezier(0.23, 1, 0.32, 1),
        box-shadow 0.28s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: var(--shadow-md);
    opacity: 1;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.success-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Quote mark decoration */
.success-card::before {
    content: '“';
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 80px;
    line-height: 1;
    color: var(--accent);
    opacity: 0.1;
    font-family: 'Satoshi', sans-serif;
    font-weight: 900;
    transition: opacity 0.2s ease;
}

.success-card:hover::before {
    opacity: 0.25;
}

.success-quote {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.success-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.author-info h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .success-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media screen and (max-width: 768px) {
    .success-carousel {
        margin-top: 40px;
    }

    .success-card {
        flex: 0 0 100%;
        padding: 24px 20px;
        min-height: 180px;
    }

    .success-card::before {
        font-size: 50px;
        top: 12px;
        left: 16px;
    }

    .success-quote {
        font-size: 15px;
        -webkit-line-clamp: 4;
    }

    .social-proof-badge {
        flex-direction: column;
        gap: 4px;
    }

    .badge-number {
        font-size: 40px;
    }

    .badge-text {
        font-size: 16px;
    }
}
