/**
 * Trust Badges & Social Proof Component System
 * Enterprise-grade trust elements inspired by Monday.com, Salesforce, HubSpot
 * 
 * Components:
 * - Trust bar with logos
 * - Award badges (G2, Capterra, Gartner)
 * - Security certifications
 * - Industry recognition
 * - Customer stats
 */

/* === Trust Bar Enhanced === */
.trust-bar-enhanced {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.trust-bar-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
}

.trust-bar-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.trust-bar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.trust-bar-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.trust-bar-highlight {
    color: #60a5fa;
    font-weight: 700;
}

.trust-logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.trust-logo-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.trust-logo-item img {
    height: 32px;
    width: auto;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.trust-logo-item:hover img {
    filter: none;
    opacity: 1;
}

.trust-logo-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* === Award Badges Section === */
.awards-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

.awards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.awards-header {
    text-align: center;
    margin-bottom: 48px;
}

.awards-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.awards-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.award-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
    position: relative;
    overflow: hidden;
}

.award-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.award-badge:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
}

.award-badge:hover::before {
    opacity: 1;
}

.award-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-radius: 16px;
    font-size: 32px;
}

.award-badge img {
    width: 80px;
    height: auto;
}

.award-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.award-source {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* G2, Capterra, Gartner specific styles */
.award-badge.g2 .award-icon { background: linear-gradient(135deg, #ff492c20, #ff492c40); }
.award-badge.capterra .award-icon { background: linear-gradient(135deg, #00a4bd20, #00a4bd40); }
.award-badge.gartner .award-icon { background: linear-gradient(135deg, #00358020, #00358040); }

/* === Security Certifications === */
.security-section {
    padding: 64px 0;
    background: rgba(15, 23, 42, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.security-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.security-header {
    text-align: center;
}

.security-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.security-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.security-badge:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.security-badge-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    font-size: 20px;
}

.security-badge-text {
    display: flex;
    flex-direction: column;
}

.security-badge-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.security-badge-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* === Customer Stats Bar === */
.stats-bar {
    padding: 48px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm-6 60v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-value .stat-suffix {
    font-size: 32px;
    opacity: 0.8;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* === Industry Solutions Pills (Monday.com style) === */
.industry-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 0;
}

.industry-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.industry-pill:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.4);
    color: #fff;
    transform: translateY(-2px);
}

.industry-pill.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.industry-pill-icon {
    font-size: 16px;
}

/* === Testimonial with Logo === */
.testimonial-card-enhanced {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.testimonial-card-enhanced::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 80px;
    font-family: Georgia, serif;
    color: rgba(102, 126, 234, 0.2);
    line-height: 1;
}

.testimonial-card-enhanced:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
}

.testimonial-company-logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    margin-bottom: 24px;
}

.testimonial-quote {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

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

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.testimonial-author-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* === Video Testimonial Card === */
.video-testimonial-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: transform 0.3s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.video-testimonial-card:hover {
    transform: scale(1.02);
}

.video-testimonial-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #667eea;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-testimonial-card:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.video-testimonial-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.video-testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.video-testimonial-company {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* === Light Mode Overrides === */
[data-theme="light"] .trust-bar-enhanced,
.trust-bar-enhanced.light {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top-color: rgba(0, 0, 0, 0.05);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .trust-bar-enhanced::before,
.trust-bar-enhanced.light::before {
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
}

[data-theme="light"] .trust-bar-label,
.trust-bar-enhanced.light .trust-bar-label {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .trust-logo-item,
.trust-bar-enhanced.light .trust-logo-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .trust-logo-item img,
.trust-bar-enhanced.light .trust-logo-item img {
    filter: grayscale(100%) brightness(0.5);
}

[data-theme="light"] .trust-logo-text,
.trust-bar-enhanced.light .trust-logo-text {
    color: rgba(0, 0, 0, 0.6);
}

/* === Mobile Responsiveness === */
@media (max-width: 768px) {
    .trust-bar-enhanced {
        padding: 32px 0;
    }
    
    .trust-bar-content {
        padding: 0 16px;
    }
    
    .trust-logos-grid {
        gap: 16px;
    }
    
    .trust-logo-item {
        padding: 10px 16px;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .award-badge {
        padding: 24px 16px;
    }
    
    .security-badges {
        gap: 16px;
    }
    
    .security-badge {
        padding: 12px 16px;
    }
    
    .stats-container {
        gap: 24px;
    }
    
    .stat-value {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .testimonial-card-enhanced {
        padding: 24px;
    }
    
    .testimonial-quote {
        font-size: 16px;
    }
}
