/* ============================================
   SUCCESS STORIES - PREMIUM REDESIGN (PHASE 7)
   ============================================ */

.testimonials-premium {
    position: relative;
    background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
    overflow: hidden;
}

.testimonial-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.testimonial-card-premium {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 32px;
    padding: 3.5rem 3rem 3rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

.testimonial-card-premium:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
    border-color: rgba(0, 245, 255, 0.5);
    box-shadow: 0 30px 60px rgba(0, 245, 255, 0.15);
}

/* Decorative Elements */
.quote-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.15), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.testimonial-card-premium:hover .card-shimmer {
    left: 100%;
}

/* Quote Mark */
.quote-mark-large {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 245, 255, 0.1);
    line-height: 0.8;
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-family: Georgia, serif;
    pointer-events: none;
}

/* Quote Text */
.testimonial-quote-premium {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
    font-style: italic;
}

/* Author Section */
.testimonial-author-premium {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.author-avatar-premium {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.avatar-ring-animated {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #00f5ff, #8b5cf6, #ec4899, #00f5ff) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: avatar-pulse 3s ease-in-out infinite;
}

@keyframes avatar-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.avatar-gradient {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.author-details-premium {
    flex: 1;
}

.author-name-premium {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.author-role-premium {
    font-size: 0.95rem;
    color: rgba(0, 245, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 0.5rem;
    font-size: 1.25rem;
}

.testimonial-rating .star {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    animation: star-twinkle 2s ease-in-out infinite;
}

.testimonial-rating .star:nth-child(1) {
    animation-delay: 0s;
}

.testimonial-rating .star:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-rating .star:nth-child(3) {
    animation-delay: 0.4s;
}

.testimonial-rating .star:nth-child(4) {
    animation-delay: 0.6s;
}

.testimonial-rating .star:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes star-twinkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonial-card-premium {
        padding: 3rem 2rem 2.5rem;
    }

    .quote-mark-large {
        font-size: 5rem;
        top: 1rem;
        left: 1rem;
    }

    .testimonial-quote-premium {
        font-size: 1.1rem;
    }
}