/* ==========================================
   AI FEATURES - CLIENT REVIEWS
   ========================================== */

/* --- 1. Verified AI Authenticity Shield --- */
.ai-verified-badge-container {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    cursor: help;
}

.ai-verified-shield {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15); /* Green tint */
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 6px 12px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    animation: shieldPulse 3s infinite;
}

.ai-verified-shield:hover {
    background: rgba(16, 185, 129, 0.25);
    transform: scale(1.05);
}

.ai-verified-shield i {
    color: #10B981; /* Emerald Green */
    font-size: 0.9rem;
}

.ai-verified-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: #10B981;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tooltip */
.ai-verified-badge-container::after {
    content: "AI Verified: Authentic review pattern detected";
    position: absolute;
    bottom: 100%;
    right: 0;
    width: max-content;
    max-width: 200px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: 0.75rem;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    margin-bottom: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ai-verified-badge-container:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes shieldPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* --- 2. Smart Sentiment Tags (Auto-Tagging) --- */
.sentiment-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.sentiment-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
}

.sentiment-tag:hover {
    transform: translateY(-2px);
}

/* Tag Variants */
.tag-quality {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(255, 140, 0, 0.25)); /* Gold */
    border-color: rgba(255, 165, 0, 0.4);
    color: #FFD700;
}

.tag-fast {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.15), rgba(30, 144, 255, 0.25)); /* Blue */
    border-color: rgba(0, 191, 255, 0.4);
    color: #00BFFF;
}

.tag-support {
    background: linear-gradient(135deg, rgba(147, 112, 219, 0.15), rgba(138, 43, 226, 0.25)); /* Purple */
    border-color: rgba(147, 112, 219, 0.4);
    color: #E6E6FA;
}

.tag-creative {
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.15), rgba(255, 20, 147, 0.25)); /* Pink */
    border-color: rgba(255, 105, 180, 0.4);
    color: #FF69B4;
}

.tag-value {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.15), rgba(60, 179, 113, 0.25)); /* Green */
    border-color: rgba(46, 139, 87, 0.4);
    color: #98FB98;
}

.sentiment-tag i {
    font-size: 0.8rem;
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Stagger animations for tags */
.sentiment-tag:nth-child(1) { animation-delay: 0.1s; }
.sentiment-tag:nth-child(2) { animation-delay: 0.2s; }
.sentiment-tag:nth-child(3) { animation-delay: 0.3s; }
