/* === سيكشن الهيرو الثوري === */

.revolutionary-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

/* خلفية الفيديو/الصورة */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img,
.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

/* الطبقات المتدرجة */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 2;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

/* الجسيمات المتحركة */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-particle {
    position: absolute;
    border-radius: var(--radius-full);
    opacity: 0.7;
    animation: heroFloat 12s ease-in-out infinite;
}

.hero-particle:nth-child(1) {
    width: 6px;
    height: 6px;
    background: var(--gold-400);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.hero-particle:nth-child(2) {
    width: 4px;
    height: 4px;
    background: var(--emerald-400);
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.hero-particle:nth-child(3) {
    width: 8px;
    height: 8px;
    background: var(--primary-cyan);
    top: 80%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.hero-particle:nth-child(4) {
    width: 3px;
    height: 3px;
    background: var(--gold-300);
    top: 30%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.hero-particle:nth-child(5) {
    width: 5px;
    height: 5px;
    background: var(--emerald-300);
    top: 70%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 11s;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) rotate(180deg) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-20px) rotate(270deg) scale(1.1);
        opacity: 1;
    }
}

/* محتوى الهيرو */
.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--gold-300);
    margin-bottom: var(--space-6);
    opacity: 0;
    animation: slideUp 1s ease-out 0.3s forwards;
}

.hero-badge i {
    color: var(--gold-400);
}

.hero-title {
    font-family: 'Cairo', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 1s ease-out 0.6s forwards;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.hero-title .site-name {
    color: #ffffff !important;
    display: block;
    font-weight: 900 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title .site-description {
    color: #f59e0b !important;
    display: block;
    font-size: 0.8em;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    opacity: 0.6;
}

.hero-subtitle {
    font-size: var(--text-2xl);
    font-weight: var(--font-medium);
    line-height: 1.6;
    margin-bottom: var(--space-8);
    opacity: 0.9;
    opacity: 0;
    animation: slideUp 1s ease-out 0.9s forwards;
}

.hero-description {
    font-size: var(--text-lg);
    line-height: 1.7;
    margin-bottom: var(--space-10);
    opacity: 0.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: slideUp 1s ease-out 1.2s forwards;
}

/* أزرار الهيرو */
.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
    opacity: 0;
    animation: slideUp 1s ease-out 1.5s forwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    border: none;
    border-radius: var(--radius-2xl);
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition-slow);
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn-primary {
    background: var(--gradient-gold);
    color: var(--white);
    box-shadow: var(--shadow-xl);
}

.hero-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold-glow);
    color: var(--white);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    color: var(--white);
}

.hero-btn i {
    font-size: var(--text-xl);
    transition: var(--transition-normal);
}

.hero-btn:hover i {
    transform: scale(1.1);
}



/* مؤشر التمرير */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    opacity: 0;
    animation: slideUp 1s ease-out 1.8s forwards;
}

.scroll-mouse {
    width: 28px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-2xl);
    position: relative;
    cursor: pointer;
    transition: var(--transition-normal);
}

.scroll-mouse:hover {
    border-color: var(--gold-400);
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-full);
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

/* أنيميشن الدخول */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* الاستجابة للأجهزة */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-6xl);
    }
    
    .hero-subtitle {
        font-size: var(--text-xl);
    }
    
    .hero-description {
        font-size: var(--text-base);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--text-5xl);
    }

    .hero-title .site-description {
        font-size: 0.75em;
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
    }


}

@media (max-width: 640px) {
    .hero-title {
        font-size: var(--text-4xl);
    }

    .hero-title .site-description {
        font-size: 0.7em;
    }

    .hero-subtitle {
        font-size: var(--text-base);
        margin-bottom: var(--space-6);
    }

    .hero-description {
        font-size: var(--text-sm);
        margin-bottom: var(--space-8);
    }

    .hero-buttons {
        margin-bottom: var(--space-8);
    }

    .hero-btn {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base);
    }



    .scroll-indicator {
        display: none;
    }
}

/* إصلاح ألوان النص في الهيرو - أولوية عالية */
.revolutionary-hero .hero-title .site-name {
    color: #ffffff !important;
    font-weight: 900 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
}

.revolutionary-hero .hero-title .site-description {
    color: #f59e0b !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
}
