/* ================================================
   PREMIUM REVIEWS SECTION - Glassmorphism Design
   ================================================ */

/* Section Container */
.premium-reviews-section {
    position: relative;
    padding: 40px 0 10px;
    overflow: hidden;
    background: transparent;
}

/* Header Styles */
.premium-reviews-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.premium-reviews-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Swiper Container */
.premiumReviewSwiper {
    position: relative;
    z-index: 1;
    padding: 10px 5px 20px;
}

.premiumReviewSwiper .swiper-slide {
    height: auto;
}

/* Review Card */
.premium-review-card {
    position: relative;
    height: 100%;
}

.premium-review-card-inner {
    position: relative;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 18px;
    padding: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-review-card-inner:hover {
    transform: translateY(-8px);
}

/* Gradient Border */
.gradient-border {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        rgba(34, 197, 94, 0.5) 0%,
        rgba(16, 185, 129, 0.2) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(16, 185, 129, 0.2) 75%,
        rgba(34, 197, 94, 0.5) 100%
    );
    background-size: 300% 300%;
    animation: gradientMove 6s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.premium-review-card:hover .gradient-border {
    opacity: 1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Card Content */
.premium-review-content {
    background: #2f343c;
    border-radius: 16px;
    padding: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

/* Subtle inner glow on hover */
.premium-review-card:hover .premium-review-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at top left,
        rgba(34, 197, 94, 0.08) 0%,
        transparent 50%
    );
    pointer-events: none;
}

/* Quote Icon */
.quote-icon {
    margin-bottom: 10px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.quote-icon svg {
    width: 24px;
    height: 24px;
}

.premium-review-card:hover .quote-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Rating Stars */
.premium-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 12px;
}

.premium-rating .star {
    color: rgba(251, 191, 36, 0.2);
    transition: all 0.3s ease;
}

.premium-rating .star svg {
    width: 14px;
    height: 14px;
}

.premium-rating .star.filled {
    color: #FBBF24;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
}

.premium-review-card:hover .premium-rating .star.filled {
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
}

/* Review Text */
.premium-review-text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    flex-grow: 1;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-style: italic;
}

/* Divider */
.premium-divider {
    position: relative;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    margin-bottom: 14px;
}

.divider-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #22C55E, #10B981);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.4s ease;
}

.premium-review-card:hover .divider-glow {
    opacity: 1;
    width: 100px;
}

/* Author Section */
.premium-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.premium-avatar-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.premium-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: block;
}

.avatar-ring {
    display: none;
}

.verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #12141a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-author-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.premium-author-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.premium-author-label {
    font-size: 11px;
    color: rgba(34, 197, 94, 0.8);
    font-weight: 500;
}

/* Product Badge */
.premium-product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
    width: fit-content;
    transition: all 0.3s ease;
}

.premium-product-badge i {
    color: #22C55E;
    font-size: 10px;
}

.premium-review-card:hover .premium-product-badge {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #fff;
}

/* Navigation */
.premium-swiper-nav {
    display: none;
}

/* ================================================
   RESPONSIVE STYLES
   ================================================ */

@media screen and (max-width: 1200px) {
    .premium-reviews-title {
        font-size: 36px;
    }
    
    .premium-review-content {
        padding: 16px;
    }
}

@media screen and (max-width: 992px) {
    .premium-reviews-section {
        padding: 30px 0 5px;
    }
    
    .premium-reviews-header {
        margin-bottom: 18px;
    }
    
    .premium-reviews-title {
        font-size: 32px;
    }
    
    .premium-review-content {
        padding: 16px;
    }
}

@media screen and (max-width: 768px) {
    .premium-reviews-section {
        padding: 25px 0 5px;
    }
    
    .premium-reviews-header {
        margin-bottom: 15px;
    }
    
    .premium-reviews-title {
        font-size: 26px;
    }
    
    .premium-review-card-inner {
        border-radius: 16px;
    }
    
    .premium-review-content {
        border-radius: 14px;
        padding: 14px;
    }
    
    .quote-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .premium-review-text {
        font-size: 12px;
        -webkit-line-clamp: 3;
    }
    
    .premium-avatar-wrapper {
        width: 32px;
        height: 32px;
    }
    
    .premium-author-name {
        font-size: 12px;
    }
}

@media screen and (max-width: 576px) {
    .premium-reviews-section {
        padding: 20px 0 0;
    }
    
    .premium-reviews-header {
        margin-bottom: 12px;
    }
    
    .premium-reviews-title {
        font-size: 22px;
    }
    
    .premiumReviewSwiper {
        padding: 8px 5px 15px;
    }
    
    .premium-review-content {
        padding: 12px;
    }
    
    .quote-icon {
        margin-bottom: 8px;
    }
    
    .quote-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .premium-rating {
        margin-bottom: 10px;
    }
    
    .premium-rating .star svg {
        width: 12px;
        height: 12px;
    }
    
    .premium-review-text {
        font-size: 11px;
        margin-bottom: 10px;
        line-height: 1.5;
    }
    
    .premium-divider {
        margin-bottom: 10px;
    }
    
    .premium-author {
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .premium-avatar-wrapper {
        width: 28px;
        height: 28px;
    }
    
    .verified-badge {
        width: 14px;
        height: 14px;
    }
    
    .verified-badge svg {
        width: 8px;
        height: 8px;
    }
    
    .premium-author-name {
        font-size: 11px;
    }
    
    .premium-author-label {
        font-size: 10px;
    }
    
    .premium-product-badge {
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* ================================================
   ANIMATION UTILITIES
   ================================================ */

/* Stagger animation on load */
.premiumReviewSwiper .swiper-slide-active .premium-review-card,
.premiumReviewSwiper .swiper-slide-next .premium-review-card,
.premiumReviewSwiper .swiper-slide-prev .premium-review-card {
    animation: cardFadeIn 0.6s ease forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .gradient-border {
        animation: none;
    }
    
    .premium-review-card-inner,
    .premium-nav-btn,
    .premium-product-badge,
    .quote-icon,
    .divider-glow {
        transition: none;
    }
}
