/* تخصيصات إضافية لتحسين التصميم */

/* خط Cairo الأساسي */
* {
    font-family: 'Cairo', sans-serif;
}

/* تحسين النصوص العربية */
body {
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* تحسين الانيميشن الأساسي */
.transition-all {
    transition: all 0.3s ease;
}

/* تأثيرات التمرير السلسة */
html {
    scroll-behavior: smooth;
}

/* تحسين المظهر للأزرار */
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* تأثيرات hover للبطاقات */
.hover-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* تدرجات مخصصة */
.gradient-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* تحسين الفورم */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* تأثير الجسيمات في الخلفية */
.particles-bg {
    position: relative;
    overflow: hidden;
}

.particles-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(250, 204, 21, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

/* تحسين التخطيط للشاشات الكبيرة */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
}

/* تحسين التخطيط للشاشات المتوسطة */
@media (min-width: 768px) and (max-width: 1024px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* تحسين التخطيط للهواتف */
@media (max-width: 768px) {
    .mobile-text-sm {
        font-size: 0.875rem;
    }
    
    .mobile-text-base {
        font-size: 1rem;
    }
    
    .mobile-text-lg {
        font-size: 1.125rem;
    }
    
    .mobile-text-xl {
        font-size: 1.25rem;
    }
    
    .mobile-text-2xl {
        font-size: 1.5rem;
    }
    
    .mobile-padding {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .mobile-margin {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* تحسين الأيقونات العربية */
.rtl-icon {
    transform: scaleX(-1);
}

/* تأثيرات الظلال المتدرجة */
.shadow-soft {
    box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
}

.shadow-medium {
    box-shadow: 0 4px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-strong {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.2), 0 2px 10px -2px rgba(0, 0, 0, 0.04);
}

/* تحسين الخط في المناطق المهمة */
.text-hero {
    font-weight: 800;
    letter-spacing: -0.025em;
}

.text-section {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.text-emphasis {
    font-weight: 600;
}

/* تأثيرات التمرير */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* تحسين الشريط العلوي */
.navbar-blur {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* تحسين الأزرار بأنماط متنوعة */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
}

/* تحسين البطاقات بزوايا ناعمة */
.card-rounded {
    border-radius: 1.5rem;
}

.card-rounded-lg {
    border-radius: 2rem;
}

/* تحسين النصوص للشاشات عالية الدقة */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .text-sharp {
        -webkit-font-smoothing: subpixel-antialiased;
    }
}

/* تحسين التباعد العربي */
.arabic-spacing {
    word-spacing: 0.1em;
    letter-spacing: 0.02em;
}

/* تأثير البريق للعناصر المهمة */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* تحسين العناصر التفاعلية */
.interactive {
    cursor: pointer;
    user-select: none;
}

.interactive:active {
    transform: scale(0.98);
}

/* تحسين القوائم المنسدلة */
.dropdown-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.dropdown-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* تحسين التحميل */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* تحسين العناصر الثابتة */
.sticky-smooth {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

/* تحسينات خاصة للطباعة */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-break {
        page-break-before: always;
    }
}

/* تحسين إمكانية الوصول */
.focus-visible:focus {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* تحسين الرسوم المتحركة */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* تحسينات خاصة بالصور */
.hero-image {
    transition: all 0.5s ease;
    filter: brightness(1.05) contrast(1.1);
}

.hero-image:hover {
    transform: scale(1.02);
    filter: brightness(1.1) contrast(1.15);
}

/* تأثيرات الصور الاحترافية */
.professional-image {
    transition: all 0.3s ease;
    filter: saturate(1.1) contrast(1.05);
}

.professional-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    filter: saturate(1.2) contrast(1.1);
}

/* تحسين صور العملاء */
.customer-avatar {
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.customer-avatar:hover {
    border-color: var(--primary-400);
    transform: scale(1.1);
}

/* تأثيرات الصور الخلفية */
.background-overlay {
    position: relative;
    overflow: hidden;
}

.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(234, 179, 8, 0.1));
    pointer-events: none;
}

/* تحسين التحميل للصور */
img {
    loading: lazy;
    transition: opacity 0.3s ease;
}

img[data-loaded="false"] {
    opacity: 0;
}

img[data-loaded="true"] {
    opacity: 1;
}

/* تأثيرات الصور المتحركة */
@keyframes imageSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-image-slide {
    animation: imageSlideIn 0.8s ease-out;
}

/* تحسين الصور للشاشات المختلفة */
@media (max-width: 768px) {
    .hero-image {
        height: 200px !important;
    }
    
    .professional-image {
        max-width: 100%;
        height: auto;
    }
    
    .customer-avatar {
        width: 40px !important;
        height: 40px !important;
    }
}

/* تأثيرات الإضاءة على الصور */
.image-glow {
    position: relative;
}

.image-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0ea5e9, #eab308, #0ea5e9);
    z-index: -1;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-glow:hover::after {
    opacity: 0.3;
}

/* تحسين الصور التفاعلية */
.interactive-image {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.interactive-image::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: left 0.5s ease;
}

.interactive-image:hover::before {
    left: 100%;
}

/* تحسينات خاصة بالفيديو */
.video-container {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.video-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-play-overlay:hover {
    background: rgba(0, 0, 0, 0.4);
}

.video-play-button {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.95);
}

.video-modal {
    backdrop-filter: blur(10px);
    animation: fadeInModal 0.3s ease-out;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-modal .modal-content {
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسين مشغل الفيديو */
video {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

video:focus {
    outline: 2px solid #0ea5e9;
    outline-offset: 4px;
}

/* تحسين النافذة المنبثقة للفيديو */
.video-modal {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.video-modal.show {
    opacity: 1;
    transform: scale(1);
}

/* تحسين عناصر التحكم في الفيديو */
video::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

video::-webkit-media-controls-play-button {
    background-color: #0ea5e9;
    border-radius: 50%;
}

/* تحسينات للجوال */
@media (max-width: 768px) {
    .video-container {
        height: 200px !important;
    }
    
    .video-play-button {
        padding: 1rem;
    }
    
    .video-modal {
        padding: 1rem;
    }
    
    .video-modal video {
        max-height: 60vh;
    }
    
    .video-modal .modal-content {
        margin: 1rem;
    }
}

/* تحسين للشاشات الكبيرة */
@media (min-width: 1200px) {
    .video-modal video {
        max-height: 80vh;
    }
}

/* تحسين الألوان للوضع المظلم */
@media (prefers-color-scheme: dark) {
    .auto-dark {
        background-color: #1f2937;
        color: #f9fafb;
    }
}

/* تحسين السكرول */
.smooth-scroll {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.5) transparent;
}

.smooth-scroll::-webkit-scrollbar {
    width: 8px;
}

.smooth-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.smooth-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(59, 130, 246, 0.5);
    border-radius: 4px;
}

.smooth-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgba(59, 130, 246, 0.8);
}

/* تنسيقات شعارات مواقع التواصل الاجتماعي */
.social-icons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social-icon {
    background: white;
    border-radius: 0.75rem;
    padding: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.social-icon:hover::before {
    left: 100%;
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.social-icon:active {
    transform: translateY(-2px) scale(1.02);
}

/* ألوان خاصة لكل منصة */
.social-icon.facebook:hover {
    background-color: #f0f8ff;
    border: 1px solid #1877f2;
}

.social-icon.facebook .fab {
    color: #1877f2;
}

.social-icon.x-twitter:hover {
    background-color: #f8f9fa;
    border: 1px solid #000000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.social-icon.x-twitter span {
    color: #000000 !important;
    font-weight: 900;
    font-family: 'Times New Roman', serif;
}

.social-icon.x-twitter:hover span {
    color: #000000 !important;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.instagram:hover .fab {
    color: white;
}

.social-icon.instagram .fab {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-icon.snapchat:hover {
    background-color: #fffbeb;
    border: 1px solid #fffc00;
}

.social-icon.snapchat .fab {
    color: #fffc00;
}

.social-icon.linkedin:hover {
    background-color: #eff6ff;
    border: 1px solid #0077b5;
}

.social-icon.linkedin .fab {
    color: #0077b5;
}

.social-icon.whatsapp:hover {
    background-color: #f0fdf4;
    border: 1px solid #25d366;
}

.social-icon.whatsapp .fab {
    color: #25d366;
}

.social-icon.tiktok:hover {
    background-color: #f9fafb;
    border: 1px solid #000000;
}

.social-icon.tiktok .fab {
    color: #000000;
}

/* تأثير النبضة للشعارات */
@keyframes socialPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0);
    }
}

.social-icon:hover {
    animation: socialPulse 1.5s infinite;
}

/* تحسين للشاشات الصغيرة */
@media (max-width: 768px) {
    .social-icons-container {
        gap: 0.5rem;
    }
    
    .social-icon {
        padding: 0.5rem;
    }
    
    .social-icon .fab {
        font-size: 1.25rem;
    }
}

/* تحسين للشاشات الكبيرة */
@media (min-width: 1024px) {
    .social-icons-container {
        gap: 1.5rem;
    }
    
    .social-icon {
        padding: 1rem;
    }
    
    .social-icon .fab {
        font-size: 1.5rem;
    }
}

/* تنسيقات شعارات مواقع التواصل داخل الباقات */
.package-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.package-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.5s ease;
}

.package-social-icon:hover::before {
    left: 100%;
}

.package-social-icon:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ألوان خاصة لكل منصة في الباقات */
.package-social-icon.facebook {
    border-color: #1877f2;
}

.package-social-icon.facebook .fab {
    color: #1877f2;
}

.package-social-icon.facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
}

.package-social-icon.facebook:hover .fab {
    color: white;
}

.package-social-icon.x-twitter {
    border-color: #000000;
}

.package-social-icon.x-twitter span {
    color: #000000 !important;
    font-family: 'Times New Roman', serif;
    font-weight: 900;
}

.package-social-icon.x-twitter:hover {
    background-color: #000000;
    border-color: #000000;
}

.package-social-icon.x-twitter:hover span {
    color: white !important;
}

.package-social-icon.instagram {
    border: 2px solid;
    border-image: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) 1;
}

.package-social-icon.instagram .fab {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.package-social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.package-social-icon.instagram:hover .fab {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.package-social-icon.snapchat {
    border-color: #fffc00;
}

.package-social-icon.snapchat .fab {
    color: #fffc00;
}

.package-social-icon.snapchat:hover {
    background-color: #fffc00;
    border-color: #fffc00;
}

.package-social-icon.snapchat:hover .fab {
    color: #000000;
}

.package-social-icon.linkedin {
    border-color: #0077b5;
}

.package-social-icon.linkedin .fab {
    color: #0077b5;
}

.package-social-icon.linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
}

.package-social-icon.linkedin:hover .fab {
    color: white;
}

.package-social-icon.whatsapp {
    border-color: #25d366;
}

.package-social-icon.whatsapp .fab {
    color: #25d366;
}

.package-social-icon.whatsapp:hover {
    background-color: #25d366;
    border-color: #25d366;
}

.package-social-icon.whatsapp:hover .fab {
    color: white;
}

.package-social-icon.tiktok {
    border-color: #000000;
}

.package-social-icon.tiktok .fab {
    color: #000000;
}

.package-social-icon.tiktok:hover {
    background-color: #000000;
    border-color: #000000;
}

.package-social-icon.tiktok:hover .fab {
    color: white;
}

/* تأثيرات خاصة للباقة الاحترافية */
.package-social-icon.pro {
    border-width: 2px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

.package-social-icon.pro:hover {
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.25);
    transform: translateY(-3px) scale(1.15);
}

/* تأثيرات خاصة للباقة المؤسسية */
.package-social-icon.enterprise {
    border-width: 2px;
    position: relative;
}

.package-social-icon.enterprise::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0ea5e9, #eab308, #0ea5e9);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-social-icon.enterprise:hover::after {
    opacity: 0.7;
}

.package-social-icon.enterprise:hover {
    transform: translateY(-4px) scale(1.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* تنسيقات خاصة للميزات الجديدة في الباقات */
.pricing-section .fas.fa-star {
    background: linear-gradient(45deg, #facc15, #eab308);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: starGlow 2s ease-in-out infinite alternate;
}

.pricing-section .fas.fa-video {
    color: #0ea5e9;
    animation: videoGlow 1.5s ease-in-out infinite alternate;
}

.pricing-section .fas.fa-robot {
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: robotGlow 2s ease-in-out infinite alternate;
}

.pricing-section .fas.fa-plug {
    color: #3b82f6;
    animation: plugGlow 1.8s ease-in-out infinite alternate;
}

@keyframes starGlow {
    0% { text-shadow: 0 0 5px rgba(250, 204, 21, 0.5); }
    100% { text-shadow: 0 0 15px rgba(250, 204, 21, 0.8); }
}

@keyframes videoGlow {
    0% { color: #0ea5e9; }
    100% { color: #38bdf8; }
}

@keyframes robotGlow {
    0% { filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.5)); }
    100% { filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8)); }
}

@keyframes plugGlow {
    0% { color: #3b82f6; }
    100% { color: #60a5fa; }
}

/* تحسين للشاشات الصغيرة */
@media (max-width: 768px) {
    .package-social-icon {
        width: 32px;
        height: 32px;
    }
    
    .package-social-icon .fab {
        font-size: 14px;
    }
}

/* تأثير الظهور المتتالي للشعارات في الباقات */
.package-social-icon {
    animation: packageIconFadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.package-social-icon:nth-child(1) { animation-delay: 0.1s; }
.package-social-icon:nth-child(2) { animation-delay: 0.2s; }
.package-social-icon:nth-child(3) { animation-delay: 0.3s; }
.package-social-icon:nth-child(4) { animation-delay: 0.4s; }
.package-social-icon:nth-child(5) { animation-delay: 0.5s; }
.package-social-icon:nth-child(6) { animation-delay: 0.6s; }
.package-social-icon:nth-child(7) { animation-delay: 0.7s; }

@keyframes packageIconFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* تنسيقات شعارات التواصل الاجتماعي الرئيسية الكبيرة */
.main-social-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 3px solid #e5e7eb;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.main-social-icon .fab {
    font-size: 2rem;
    transition: all 0.3s ease;
}

.main-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.8s ease;
}

.main-social-icon:hover::before {
    left: 100%;
}

.main-social-icon:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2), 0 15px 25px -5px rgba(0, 0, 0, 0.15);
}

.main-social-icon:active {
    transform: translateY(-4px) scale(1.05);
}

/* ألوان خاصة لكل منصة - النسخة الكبيرة */
.main-social-icon.facebook {
    border-color: #1877f2;
}

.main-social-icon.facebook .fab {
    color: #1877f2;
}

.main-social-icon.facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 20px 40px -10px rgba(24, 119, 242, 0.4);
}

.main-social-icon.facebook:hover .fab {
    color: white;
    transform: scale(1.2);
}

.main-social-icon.x-twitter {
    border-color: #000000;
}

.main-social-icon.x-twitter span {
    color: #000000 !important;
    font-weight: 900;
    font-family: 'Times New Roman', serif;
}

.main-social-icon.x-twitter:hover {
    background-color: #000000;
    border-color: #000000;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.main-social-icon.x-twitter:hover span {
    color: white !important;
    transform: scale(1.2);
}

.main-social-icon.instagram {
    border: 3px solid;
    border-image: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) 1;
}

.main-social-icon.instagram .fab {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 20px 40px -10px rgba(220, 39, 67, 0.4);
}

.main-social-icon.instagram:hover .fab {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    transform: scale(1.2);
}

.main-social-icon.snapchat {
    border-color: #fffc00;
}

.main-social-icon.snapchat .fab {
    color: #fffc00;
}

.main-social-icon.snapchat:hover {
    background-color: #fffc00;
    border-color: #fffc00;
    box-shadow: 0 20px 40px -10px rgba(255, 252, 0, 0.4);
}

.main-social-icon.snapchat:hover .fab {
    color: #000000;
    transform: scale(1.2);
}

.main-social-icon.linkedin {
    border-color: #0077b5;
}

.main-social-icon.linkedin .fab {
    color: #0077b5;
}

.main-social-icon.linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 20px 40px -10px rgba(0, 119, 181, 0.4);
}

.main-social-icon.linkedin:hover .fab {
    color: white;
    transform: scale(1.2);
}

.main-social-icon.whatsapp {
    border-color: #25d366;
}

.main-social-icon.whatsapp .fab {
    color: #25d366;
}

.main-social-icon.whatsapp:hover {
    background-color: #25d366;
    border-color: #25d366;
    box-shadow: 0 20px 40px -10px rgba(37, 211, 102, 0.4);
}

.main-social-icon.whatsapp:hover .fab {
    color: white;
    transform: scale(1.2);
}

.main-social-icon.tiktok {
    border-color: #000000;
}

.main-social-icon.tiktok .fab {
    color: #000000;
}

.main-social-icon.tiktok:hover {
    background-color: #000000;
    border-color: #000000;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.main-social-icon.tiktok:hover .fab {
    color: white;
    transform: scale(1.2);
}

.main-social-icon.youtube {
    border-color: #ff0000;
}

.main-social-icon.youtube .fab {
    color: #ff0000;
}

.main-social-icon.youtube:hover {
    background-color: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 20px 40px -10px rgba(255, 0, 0, 0.4);
}

.main-social-icon.youtube:hover .fab {
    color: white;
    transform: scale(1.2);
}

/* تأثير النبضة للشعارات الكبيرة */
@keyframes mainSocialPulse {
    0%, 100% {
        box-shadow: 
            0 8px 25px -5px rgba(0, 0, 0, 0.1), 
            0 10px 10px -5px rgba(0, 0, 0, 0.04),
            0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    50% {
        box-shadow: 
            0 20px 40px -10px rgba(0, 0, 0, 0.2), 
            0 15px 25px -5px rgba(0, 0, 0, 0.15),
            0 0 0 10px rgba(59, 130, 246, 0);
    }
}

.main-social-icon:hover {
    animation: mainSocialPulse 2s infinite;
}

/* تأثير الظهور المتتالي للشعارات الكبيرة */
.main-social-icon {
    animation: mainIconFadeIn 0.8s ease-out;
    animation-fill-mode: both;
}

.main-social-icon:nth-child(1) { animation-delay: 0.1s; }
.main-social-icon:nth-child(2) { animation-delay: 0.2s; }
.main-social-icon:nth-child(3) { animation-delay: 0.3s; }
.main-social-icon:nth-child(4) { animation-delay: 0.4s; }
.main-social-icon:nth-child(5) { animation-delay: 0.5s; }
.main-social-icon:nth-child(6) { animation-delay: 0.6s; }
.main-social-icon:nth-child(7) { animation-delay: 0.7s; }
.main-social-icon:nth-child(8) { animation-delay: 0.8s; }

@keyframes mainIconFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.7);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* تحسين للشاشات المتوسطة */
@media (max-width: 1024px) {
    .main-social-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }
    
    .main-social-icon .fab {
        font-size: 1.75rem;
    }
}

/* تحسين للشاشات الصغيرة */
@media (max-width: 768px) {
    .main-social-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        border-width: 2px;
    }
    
    .main-social-icon .fab {
        font-size: 1.5rem;
    }
    
    #main-social-icons {
        gap: 1rem !important;
    }
}

/* تحسين للشاشات الكبيرة جداً */
@media (min-width: 1400px) {
    .main-social-icon {
        width: 90px;
        height: 90px;
        border-radius: 24px;
    }
    
    .main-social-icon .fab {
        font-size: 2.25rem;
    }
    
    #main-social-icons {
        gap: 2.5rem !important;
    }
}