@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

/* المتغيرات الأساسية */
:root {
    --primary: #000000;
    --secondary: #333333;
    --accent: #666666;
    --text: #111111;
    --bg-light: #FFFFFF;
    --bg-dark: #121212;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --special-gradient: linear-gradient(135deg, #252525, #222222, #5e5e5e);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* التنسيقات الأساسية */
* {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text);
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* شريط التمرير المخصص */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* مؤشر المتابعة المخصص */
.cursor-follow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    backdrop-filter: invert(100%);
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
}

/* روابط التنقل */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* تدرج Hero */
.hero-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
section#hero .w-full.lg\:w-1\/2.mb-12.lg\:mb-0.aos-init.aos-animate {
    padding: 30px 0 0 15px;
}
section#hero .w-full.lg\:w-1\/2.mb-12.lg\:mb-0.aos-init.aos-animate h1 {
    font-size: 54px;
    line-height: 1.4;
}
/* تأثير حركة البطاقات */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* زر التدرج */
.gradient-btn {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gradient-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-btn:hover::after {
    opacity: 1;
}

.gradient-btn span {
    position: relative;
    z-index: 1;
}

.gradient-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* منطقة التمرير */
.marquee {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    background-color: var(--gray-light);
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* بطاقات المميزات */
.feature-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: scale(1.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* مفتاح التبديل للتسعير */
.pricing-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.pricing-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .pricing-slider {
    background-color: var(--primary);
}

input:checked + .pricing-slider:before {
    transform: translateX(26px);
}

/* بطاقات الشهادات */
.testimonial-card {
    transition: all 0.5s ease;
}

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

/* مؤشر التمرير */
.scroll-indicator {
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 0%;
}

/* مفتاح تبديل الوضع المظلم */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* زر واتساب */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
/* إخفاء الزر افتراضياً على جميع الأجهزة */
.whatsapp-button {
    display: none !important; 
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

/* كتلة متحركة */
.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(0,0,0,0.03), rgba(0,0,0,0.05));
    border-radius: 45% 55% 70% 30% / 30% 40% 60% 70%;
    filter: blur(15px);
    z-index: -1;
    animation: blobAnimation 15s infinite linear alternate;
}

@keyframes blobAnimation {
    0% { border-radius: 45% 55% 70% 30% / 30% 40% 60% 70%; transform: translate(0, 0) scale(1); }
    33% { border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%; transform: translate(50px, 50px) scale(1.1); }
    66% { border-radius: 30% 60% 70% 40% / 60% 30% 70% 40%; transform: translate(-50px, 30px) scale(0.9); }
    100% { border-radius: 45% 55% 70% 30% / 30% 40% 60% 70%; transform: translate(0, 0) scale(1); }
}

/* CSS للجدول الزمني */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    top: 0;
    bottom: 0;
    right: 50%;
    margin-right: -2px;
}

.timeline-item {
    padding: 10px 30px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item-left {
    right: 0;
}

.timeline-item-right {
    right: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    top: 25px;
    z-index: 1;
}

.timeline-item-left::after {
    left: -10px;
}

.timeline-item-right::after {
    right: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* أسلوب الأكورديون للأسئلة الشائعة */
.accordion-item {
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
    background-color: white;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--gray-light);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.accordion-content-inner {
    padding: 0 0 20px 0;
}

.accordion-item.active .accordion-header {
    background-color: var(--gray-light);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* العناصر العائمة */
.floating {
    animation: floating 3s infinite ease-in-out;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* أسلوب التلميح */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* النافذة المنبثقة */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.modal.show {
    display: flex;
}

/* قائمة الموبايل المحسنة */
.mobile-menu-toggle {
    width: 40px;
    height: 40px;
    position: relative;
    background: transparent;
    border: none;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-icon {
    width: 24px;
    height: 2px;
    background-color: var(--text);
    position: relative;
    transition: all 0.3s ease;
}

.menu-icon:before,
.menu-icon:after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text);
    transition: all 0.3s ease;
}

.menu-icon:before {
    top: -8px;
}

.menu-icon:after {
    top: 8px;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--bg-light);
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
    transition: right 0.3s ease;
    padding: 0;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-medium);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.mobile-menu-nav {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mobile-menu-link {
    padding: 15px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 5px;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    background-color: var(--gray-light);
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-medium);
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.mobile-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    margin: 0 5px;
    transition: all 0.2s ease;
}

.mobile-social-icon:hover {
    background-color: var(--primary);
    color: white;
}

/* لافتة المستند */
.document-banner {
    background: linear-gradient(to right, #000, #333);
    color: white;
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* إصلاح شبكة المميزات */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* إصلاح حاوية الجدول الزمني */
.timeline-container {
    position: relative;
    padding: 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #000, #333);
    right: 32px !important;
    left: auto !important;
    margin-right: 0 !important;
    top: 0;
    bottom: 0;
    z-index: 1;
}

/* تعديل موضع عناصر التايم لاين */
.timeline-container > div {
    width: 100% !important;
    position: relative;
    margin-bottom: 2rem;
    padding-right: 70px !important;
    padding-left: 20px !important;
}

/* تصحيح موضع الرقم/الدائرة */
.timeline-container > div > div.w-12.h-12 {
    position: absolute !important;
    right: 30px !important;
    left: auto !important;
    top: 25px !important;
    transform: translateX(50%) !important;
    z-index: 2 !important;
}

/* تصحيح مظهر صناديق المحتوى */
.timeline-container > div > div.bg-white {
    width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    float: none !important;
}

/* تعديل للشاشات المتوسطة والكبيرة */
@media (min-width: 768px) {
    .timeline-container::before {
        right: 50% !important;
        margin-right: -2px !important;
    }
    /* تأكيد على إخفاء شريط التنقل على شاشات الديسكتوب */
    .mobile-nav-bar {
        display: none !important;
    }
    /* حالة الصف الفردي - على اليمين */
    .timeline-container > div:nth-child(odd) {
        padding-left: 50% !important;
        padding-right: 0 !important;
    }
    
    /* حالة الصف الزوجي - على اليسار */
    .timeline-container > div:nth-child(even) {
        padding-right: 50% !important;
        padding-left: 0 !important;
    }
    
    /* موضع الدائرة للصفوف الفردية */
    .timeline-container > div:nth-child(odd) > div.w-12.h-12 {
        right: 50% !important;
        left: auto !important;
    }
    
    /* موضع الدائرة للصفوف الزوجية */
    .timeline-container > div:nth-child(even) > div.w-12.h-12 {
        right: 50% !important;
        left: auto !important;
    }
    
    /* موضع المحتوى للصفوف الفردية */
    .timeline-container > div:nth-child(odd) > div.bg-white {
        margin-right: 20px !important;
        margin-left: 0 !important;
        width: calc(100% - 20px) !important;
    }
    
    /* موضع المحتوى للصفوف الزوجية */
    .timeline-container > div:nth-child(even) > div.bg-white {
        margin-left: 20px !important;
        margin-right: auto !important;
        width: calc(100% - 20px) !important;
    }
    .whatsapp-button {
        display: flex !important;
    }
}

/* ضمان ظهور المحتوى بشكل افتراضي */
.timeline-container > div,
.feature-card,
.card-hover {
    opacity: 1 !important;
    transform: none !important;
    transition: all 0.5s ease;
}

/* إضافة تأثيرات انتقالية بـ CSS عوضاً عن GSAP */
.timeline-container > div:hover,
.feature-card:hover,
.card-hover:hover {
    transform: translateY(-5px) !important;
}

/* التذييل */
footer.bg-gray-900.text-white.py-12 {
    background: linear-gradient(135deg, #252525, #090909, #272727);
}

.bg-gray-800.p-6.rounded-lg {
    background: #ffffff08;
}

button#download-pdf-footer {
    background: #fff;
    color: #000;
}

.w-full.lg\:w-1\/2.bg-gray-800.p-8.lg\:p-12.text-white {
    background: linear-gradient(135deg, #252525, #090909, #272727);
}

.absolute.-top-4.right-1\/2.transform.translate-x-1\/2.bg-gray-800.text-white.px-4.py-1.rounded-full.text-sm.font-bold {
    background: #000;
    padding: 7px 25px;
}

a.block.w-full.py-2.bg-gray-800.text-white.text-center.rounded-lg.hover\:bg-gray-700.transition-all {
    background: #000;
}

.bg-gray-800 {
    --tw-bg-opacity: 1;
    background-color: rgb(0 0 0);
}

.bg-gray-800.text-white.rounded-lg.shadow-md.p-6.w-full.text-center {
    background: linear-gradient(135deg, #252525, #090909, #272727);
}

/* التذييل */
footer.bg-gray-900.text-white.py-12,
footer.bg-gray-900.text-white.py-8 {
    background: linear-gradient(135deg, #252525, #090909, #272727);
}

/* ستايل نسخة الموبايل */
.mobile-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-social-icon:hover {
    background-color: #333;
}

/* شريط التنقل النشط */
.active-tab {
    background-color: rgba(255, 255, 255, 0.1);
}

a.mobile-social-icon.bg-gray-800.mx-2 {
    background: #fff !important;
    padding: 12px !important;
}

/* تباعد إضافي في أسفل الصفحة على الموبايل لتجنب تداخل الشريط العائم */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
    .container.mx-auto.px-4.py-3.flex.justify-between.items-center {
        padding: 15px 30px;
        box-shadow: 0 0 30px -10px #00000052;
    }
    section.client-info-section.py-6.bg-gradient-to-r.from-gray-900.to-gray-800.text-white {
        background: #1a1a1a;
        padding: 110px 0 70px 0;
    }
}

.bg-white\/10.backdrop-blur-sm.rounded-2xl.p-6.shadow-xl.border.border-white\/20 {
    border: 1px dashed;
}

div#testimonial-animation {
    padding: 40px 0;
    background: #000;
}

.bg-gray-800.p-6.rounded-lg {
    background: #ffffff08;
}

button#download-pdf-footer {
    background: #fff;
    color: #000;
}

/* أنماط العد التنازلي للعرض الخاص */
.special-offer {
    background: linear-gradient(135deg, #871629, #65111f, #4c0b16);
    color: white;
    padding: 130px 0 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: block;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M50 0C22.4 0 0 22.4 0 50C0 77.6 22.4 100 50 100C77.6 100 100 77.6 100 50C100 22.4 77.6 0 50 0ZM50 90C27.9 90 10 72.1 10 50C10 27.9 27.9 10 50 10C72.1 10 90 27.9 90 50C90 72.1 72.1 90 50 90Z" fill="white" fill-opacity="0.1"/></svg>');
    background-size: 50px;
    opacity: 0.1;
}

section.client-info-section.py-6.bg-gradient-to-r.from-gray-900.to-gray-800.text-white {
    background: #1a1a1a;
    padding: 70px 0;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 10px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.countdown-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

.countdown-number::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
}

.countdown-label {
    margin-top: 10px;
    font-size: 1rem;
    opacity: 0.8;
}

/* رقم الهاتف المتحرك */
.phone-animation {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, #000, #333);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    direction: ltr;
}

.phone-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0), 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    animation: phoneShiney 3s infinite;
}

@keyframes phoneShiney {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}

.phone-digit {
    display: inline-block;
    margin: 0 2px;
    animation: phoneWiggle 2s infinite;
    animation-delay: calc(var(--i) * 0.1s);
    transform-origin: 50% 100%;
}

@keyframes phoneWiggle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.phone-icon {
    margin-right: 10px;
    animation: phoneRing 1s infinite ease-in-out;
    transform-origin: 50% 0%;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(10deg); }
    50% { transform: rotate(0); }
    75% { transform: rotate(-10deg); }
}

section#hero {
    padding: 100px 0;
}

.client-offer {
    display: flex;
}

section.client-info-section.py-6.bg-gradient-to-r.from-gray-900.to-gray-800.text-white {
    background: #1a1a1a;
    padding: 100px 0 70px 0;
}

section.special-offer.pt-24.max-md\:w-full.md\:w-1\/2 {
    padding: 70px 0 70px 0;
    display: grid;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
}

/* جدول الأسعار المستجيب */
.responsive-pricing-table {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.pricing-table th,
.pricing-table td {
    padding: 15px;
    text-align: right;
}

.pricing-table th {
    background-color: var(--primary);
    color: white;
    font-weight: bold;
}

.pricing-table tr {
    border-bottom: 1px solid var(--gray-medium);
    transition: all 0.2s ease;
}

.pricing-table tr:hover {
    background-color: var(--gray-light);
}

.pricing-total {
    background-color: var(--gray-light);
    font-weight: bold;
}

/* قائمة الموبايل الثابتة */
.mobile-nav-bar {
    height: 65px;
    background-color: white;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #f0f0f0;
    display: flex;
    padding: 0;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 0.65rem;
    padding: 8px 25px;
    width: 20%;
    transition: color 0.2s ease;
}

.mobile-nav-item i {
    font-size: 1.3rem;
    margin-bottom: 3px;
}

.mobile-nav-item:hover, .mobile-nav-item:active, .mobile-nav-item.active {
    color: #000;
}

/* زر الواتساب المركزي */
.mobile-nav-whatsapp {
    width: 60px;
    height: 60px;
    background-color: #25D366; /* لون الواتساب الأخضر */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-top: -25px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
    border: 4px solid white;
}

.mobile-nav-whatsapp:hover, .mobile-nav-whatsapp:active {
    transform: scale(1.05);
}

/* أزرار الوضع الليلي والمحادثة */
.mobile-dark-mode, .mobile-chat {
    position: fixed;
    bottom: 80px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #222;
    z-index: 40;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.mobile-dark-mode {
    left: 20px;
    bottom: 20px;
}

.mobile-chat {
    right: 20px;
    display: none;
}

/* تنسيقات الشريط المتحرك للسعر */
.price-slider-container {
    position: relative;
    padding: 30px;
    transition: all 0.3s ease;
}

.price-slider-track {
    position: relative;
    height: 4px;
    margin-top: 30px;
}

.price-slider-range {
    position: absolute;
    height: 4px;
}

/* نقاط السعر */
.price-points {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    width: 100%;
}

.price-point {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #777;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.price-point::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #999;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    transition: all 0.3s ease;
}

.price-point.active {
    color: #000;
    font-weight: bold;
}

.price-point.active::before {
    background-color: #000;
    transform: scale(1.5);
}

/* المؤشر والفقاعة */
.price-slider-thumb {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #000;
    border-radius: 50%;
    top: 32px;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.price-slider-thumb:hover {
    transform: translateX(-50%) scale(1.1);
}

.price-bubble {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    white-space: nowrap;
    background-color: #000;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    z-index: 20;
}

.price-slider-thumb:hover .price-bubble {
    transform: translateX(-50%) scale(1.05);
}

/* الخصم */
.discount-badge {
    background-color: #000;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* قائمة المميزات */
.features-list {
    transition: all 0.3s ease;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }

/* تعديل هوامش الصفحة في الموبايل لتناسب القائمة السفلية */
@media (max-width: 768px) {
    body {
        padding-bottom: 65px;
    }
    
    /* إضافة مساحة لمحتوى الصفحة */
    .container {
        padding-bottom: 2.5rem;
    }
    
    /* تعديل مسافة للأزرار الثابتة في الأسفل */
    .mobile-dark-mode, .mobile-chat {
        bottom: 85px;
    }
    
    /* استجابة الجدول */
    .responsive-pricing-table {
        overflow-x: auto;
    }
    
    .pricing-table {
        min-width: 700px;
    }
    
    .pricing-table th, 
    .pricing-table td {
        padding: 12px 15px;
    }
    
    .pricing-table {
        border: 0;
        box-shadow: none;
    }
    
    .pricing-table thead {
        display: none;
    }
    
    .pricing-table tr {
        display: block;
        margin-bottom: 15px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        border: 1px solid var(--gray-medium);
    }
    
    .pricing-table td {
        display: block;
        text-align: right;
        padding: 12px 15px;
        position: relative;
        padding-right: 50%;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .pricing-table td:last-child {
        border-bottom: 0;
    }
    
    .pricing-table td:before {
        content: attr(data-label);
        position: absolute;
        top: 12px;
        right: 15px;
        width: 45%;
        padding-right: 10px;
        font-weight: bold;
    }
    
    .pricing-total td {
        background-color: var(--gray-light);
        font-weight: bold;
    }
    
    .client-offer {
        flex-direction: column;
    }
    
    section.client-info-section,
    section.special-offer {
        width: 100% !important;
        padding: 50px 0;
    }
    
    .countdown-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .countdown-container {
        gap: 10px;
    }
}

/* وضع الظلام - معدل لاستخدام الأسود والأبيض فقط */
body.dark-mode {
    background-color: #000000;
    color: white;
}

body.dark-mode .bg-white {
    background-color: #000000 !important;
}

body.dark-mode .text-gray-600,
body.dark-mode .text-gray-500,
body.dark-mode .text-gray-400 {
    color: #CCCCCC !important;
}

body.dark-mode .bg-gray-50,
body.dark-mode .bg-gray-100,
body.dark-mode .marquee {
    background-color: #0A0A0A !important;
}

body.dark-mode .border,
body.dark-mode .border-b {
    border-color: #222222 !important;
}

body.dark-mode .feature-card,
body.dark-mode .timeline-content,
body.dark-mode .modal-content,
body.dark-mode .accordion-header,
body.dark-mode .accordion-content {
    background-color: #0A0A0A !important;
    color: white;
}

body.dark-mode .accordion-item.active .accordion-header {
    background-color: #151515 !important;
}

body.dark-mode .card-hover:hover,
body.dark-mode .feature-card:hover {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode textarea {
    background-color: #151515;
    color: white;
    border-color: #333333;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #AAAAAA;
}

/* مشكلة بنر الدفع السريع */
.from-purple-600 {
    --tw-gradient-from: #3aff9b;
    --tw-gradient-stops: #3aff9b, #3affc7;
}

.from-gray-800 {
    --tw-gradient-from: #000000;
    --tw-gradient-stops: #000000, #333333;
}

#payment-banner {
    margin: 50px;
    border-radius: 15px;
}

#payment-banner h3.text-2xl.font-bold, #payment-banner p.text-lg.opacity-90 {
    color: #ffffff;
}

#payment-banner .text-gray-900 {
    --tw-text-opacity: 1;
    color: rgb(41 41 41);
}

.bg-white.rounded-xl.p-8.shadow-xl.aos-init.aos-animate iframe.w-full.rounded-lg {
    height: 200px;
}

.bg-white.rounded-xl.p-8.shadow-xl.aos-init.aos-animate {
    height: 280px;
}
img.img-hero {
    filter: grayscale(1);
    object-fit: cover;
}
.marquee {
    background: #eee;
    padding: 20px;
    margin: 0px 30px;
    border-radius: 10px;
}
.bg-white.rounded-xl.p-8.shadow-lg.border.border-gray-100.aos-init.aos-animate {
    align-content: space-around;
}
.price-points.flex.justify-between.relative.mt-2 {
    direction: ltr;
}



















/* أنماط قسم التسعير */

/* تبويبات الخدمات */
.service-tabs {
    margin-bottom: 2rem;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tab-button {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.tab-button:hover {
    background-color: #e5e7eb;
    color: #111827;
}

.tab-button.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

/* شريط التسعير */
.price-slider-container {
    position: relative;
    padding: 30px;
    transition: all 0.3s ease;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.price-slider-track {
    position: relative;
    height: 4px;
    margin-top: 30px;
    background-color: #f3f4f6;
    border-radius: 999px;
}

.price-slider-range {
    position: absolute;
    height: 4px;
    background-color: #000;
    border-radius: 999px;
}

/* نقاط السعر */
.price-points {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    width: 100%;
    direction: ltr;
}

.price-point {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #777;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.price-point::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #999;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    transition: all 0.3s ease;
}

.price-point.active {
    color: #000;
    font-weight: bold;
}

.price-point.active::before {
    background-color: #000;
    transform: scale(1.5);
}

/* المؤشر والفقاعة */
.price-slider-thumb {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #000;
    border-radius: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
    cursor: grab;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.price-slider-thumb:active {
    cursor: grabbing;
    transform: translateX(-50%) translateY(-50%) scale(1.1);
}

.price-slider-thumb:hover .price-bubble {
    transform: translateX(-50%) scale(1.05);
}

.price-bubble {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background-color: #000;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    z-index: 20;
}

/* مفتاح التبديل للتسعير */
.pricing-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.pricing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.pricing-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .pricing-slider {
    background-color: #000;
}

input:checked + .pricing-slider:before {
    transform: translateX(26px);
}

/* تأثير للباقات */
.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* أنماط مخصصة للخانات */
.feature-checkbox {
    margin-bottom: 0.5rem;
}

.custom-feature-checkbox {
    opacity: 0;
    position: absolute;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.feature-checkbox label:hover .checkmark {
    background-color: rgba(255, 255, 255, 0.3);
}

.custom-feature-checkbox:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 7px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-feature-checkbox:checked + .checkmark {
    background-color: #000;
    border-color: #000;
}

/* أزرار على شكل راديو */
.profile-radio-container {
    position: relative;
    transition: all 0.2s ease;
}

.profile-type-radio, .status-radio {
    opacity: 0;
    position: absolute;
}

.radio-checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}

.profile-radio-container:hover .radio-checkmark,
.status-radio-container:hover .radio-checkmark {
    border-color: #9ca3af;
}

.profile-type-radio:checked + .radio-checkmark::after,
.status-radio:checked + .radio-checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #000;
}

.profile-type-radio:checked + .radio-checkmark,
.status-radio:checked + .radio-checkmark {
    border-color: #000;
}

.status-radio-container.active {
    border-color: #000;
    background-color: #f8fafc;
}

/* زر الخصم */
.discount-badge {
    background-color: #000;
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* زر التدرج */
.gradient-btn {
    background: linear-gradient(to right, #000000, #333333);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gradient-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #333333, #000000);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-btn:hover::after {
    opacity: 1;
}

.gradient-btn span, .gradient-btn i {
    position: relative;
    z-index: 1;
}

.gradient-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

/* جدول الأسعار */
.responsive-pricing-table {
    overflow-x: auto;
    border-radius: 0.75rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 1rem;
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-table th {
    background-color: #000;
    color: white;
    font-weight: bold;
    white-space: nowrap;
}

.pricing-table tr:hover {
    background-color: #f9fafb;
}

/* النافذة المنبثقة */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.modal.show {
    display: flex;
}

/* التصميم المستجيب */
@media (max-width: 768px) {
    .tabs-container {
        gap: 0.5rem;
    }
    
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .pricing-table th, 
    .pricing-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .responsive-pricing-table {
        overflow-x: auto;
    }
}
.relative.mb-10 {
    direction: ltr;
}


dotlottie-player.img-hero {
    height: 100% !important;
    width: 100% !important;
}

span.pricing-slider {
    transform: rotate(180deg);
    background: #000;
}


/* زر حالة العرض */

.text-center.mt-16.aos-init.aos-animate {
    position: fixed;
    bottom: 35px;
    right: 40%;
    z-index: 99999999999;
}

@media (max-width: 768px) {
    .text-center.mt-16.aos-init.aos-animate {
    bottom: 95px;
    right: 15px;
}
    #payment-banner{
        margin: 20px;
    }
}