/* ===================================================
   منصة باحثون - تحسينات UX وعناصر الثقة
   assets/css/trust-ux.css
   =================================================== */

/* ─── Hero Trust Stats Counter ─── */
.hero-trust-stats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    margin-top: 35px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 550px;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.trust-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--brand-secondary);
    line-height: 1;
}

.trust-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 5px;
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
}

/* ─── Hero Trust Badges ─── */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.trust-badge-item {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    transform: translateY(-2px);
}

/* ─── Smooth Section Transitions ─── */
section {
    position: relative;
}

/* ─── Enhanced Button Hover Effects ─── */
.btn-primary-hero {
    position: relative;
    overflow: hidden;
}

.btn-primary-hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary-hero:hover::after {
    width: 300px;
    height: 300px;
}

/* ─── Glow Effect for Cards on Hover ─── */
.feature-card:hover,
.svc-card:hover {
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.1), 0 0 20px rgba(59, 130, 246, 0.05);
}

/* ─── Animated Gradient Background for CTA Section ─── */
.cta-section {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 50%, #1e40af 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

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

/* ─── Scroll Reveal Enhancements ─── */
[data-animate] {
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Premium Section Separators ─── */
.features-section::before,
.services-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-accent), transparent);
    opacity: 0.2;
}

/* ─── Responsive Trust Stats ─── */
@media (max-width: 768px) {
    .hero-trust-stats {
        gap: 15px;
        padding: 15px 20px;
        max-width: 100%;
        justify-content: center;
    }
    .trust-number {
        font-size: 28px;
    }
    .trust-label {
        font-size: 11px;
    }
    .trust-divider {
        height: 35px;
    }
    .hero-trust-badges {
        justify-content: center;
    }
    .trust-badge-item {
        font-size: 12px;
        padding: 6px 14px;
    }
}

@media (max-width: 480px) {
    .hero-trust-stats {
        gap: 10px;
        padding: 12px 15px;
    }
    .trust-number {
        font-size: 24px;
    }
    .trust-label {
        font-size: 10px;
    }
    .trust-badge-item {
        font-size: 11px;
        padding: 5px 12px;
    }
}

/* ─── Dark Mode Trust Elements ─── */
body.dark-mode .hero-trust-stats {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .trust-badge-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}
