/**
 * CSS مخصص للصفحة الرئيسية
 * Home Page Styles
 */

/* تأثيرات إضافية للصفحة الرئيسية */
.home-page .hero-section {
    position: relative;
    overflow: hidden;
}

/* جزيئات خلفية متحركة */
.home-page .hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-bg 8s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* تحسين مظهر البطاقات */
.feature-card,
.role-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before,
.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a5276, #2e86c1);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-card:hover::before,
.role-card:hover::before {
    transform: translateX(0);
}

/* تحسين مظهر الإحصائيات */
.stat-item {
    position: relative;
}

.stat-item .stat-number {
    font-size: 36px;
    background: linear-gradient(135deg, #1a5276, #2e86c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item.highlight .stat-number {
    -webkit-text-fill-color: white;
}

/* تأثيرات دخول العناصر */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.role-card,
.stat-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }