/* Reviews Section Styles */
.reviews-section {
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: -1;
}

.review-platform-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.review-platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4285F4, #34A853, #FBBC05, #EA4335);
    transition: left 0.3s ease;
}

.review-platform-card:hover::before {
    left: 0;
}

.review-platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.platform-logo svg {
    transition: transform 0.3s ease;
}

.review-platform-card:hover .platform-logo svg {
    transform: scale(1.1);
}

.review-item {
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px !important;
}

.review-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.reviewer-avatar {
    transition: all 0.3s ease;
}

.review-item:hover .reviewer-avatar {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.stars {
    transition: color 0.3s ease;
}

.review-item:hover .stars {
    color: #ff6b35 !important;
}

.trust-item {
    transition: all 0.3s ease;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn {
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Pulse animation for star ratings */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.rating-display .stars {
    animation: pulse 2s infinite;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0 !important;
    }
    
    .review-platform-card {
        margin-bottom: 30px;
        padding: 20px !important;
    }
    
    .trust-indicators h4 {
        font-size: 1.5rem;
    }
    
    .trust-item {
        margin-bottom: 20px;
    }
    
    .platform-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .platform-logo svg {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
}

/* Loading animation for when reviews are being updated */
.reviews-loading {
    opacity: 0.6;
    pointer-events: none;
}

.reviews-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4285F4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.review-item {
    animation: fadeInUp 0.5s ease forwards;
}

.review-item:nth-child(2) {
    animation-delay: 0.1s;
}

.review-item:nth-child(3) {
    animation-delay: 0.2s;
}

/* Schema markup hidden styling */
script[type="application/ld+json"] {
    display: none;
}

/* Accessibility improvements */
.review-platform-card:focus-within {
    outline: 2px solid #4285F4;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .reviews-section {
        background: white !important;
        color: black !important;
    }
    
    .review-platform-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        break-inside: avoid;
    }
    
    .btn {
        display: none;
    }
} 