/* عام */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    background-color: #0f0f1a;
    color: #f0f0f0;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: #1a1a2e;
    z-index: 1000;
    position: relative;
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #f9c74f !important;
}
.navbar-nav .nav-link {
    color: #f0f0f0 !important;
    font-weight: 500;
}
.navbar-nav .nav-link:hover {
    color: #f9c74f !important;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-text {
    direction: rtl;
    text-align: right;
}
.hero-text h1 {
    font-size: 2rem;
    color: #f9c74f;
}
.hero-text p {
    font-size: 1.2rem;
}

/* فيديو */
.hero-video video {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(249,199,79,0.5);
    max-height: 50%;
    margin-top: 5rem;
}



.hero-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(10px); /* بلور للخلفية */
    background: rgba(0,0,0,0.5); /* شفافية داكنة */
    color: #f9c74f; /* نص ذهبي */
    text-align: center;
    padding: 10px 0;
    font-size: 1.1rem;
    font-weight: bold;
    z-index: 9999; /* فوق كل العناصر */
}

.hero-banner span {
    display: inline-block;
    transform: translateX(100%); /* يبدأ خارج الشاشة */
    animation: slideIn 3s forwards; /* يتحرك مرة واحدة فقط */
}
.hero-banner .no-break {
    white-space: nowrap; /* يمنع الانكسار */
}

@keyframes slideIn {
    0% { transform: translateX(100%); }
    100% { transform: translateX(0); }
}






    #startButton {
        position: fixed;
        bottom: 50px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(145deg, #f9c74f, #d4af37);
        border: none;
        color: #fff;
        font-weight: bold;
        font-size: 12px;
        cursor: pointer;
        z-index: 1000;
        box-shadow: 0 0 15px rgba(249,199,79,0.7);
        overflow: visible;
        text-align: center;
    }

    /* Canvas للجسيمات الذهبية */
    #buttonCanvas {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none; /* لا يعطل الضغط على الزر */
        z-index: 999;
    }












/* Form Section */
.form-section {
    background-color: #1a1a2e;
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,200,255,0.2);
}

.form-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* حقل الفورم مع أنيميشن دخول */
.form-field {
    opacity: 0;
    transform: rotateY(90deg);
    transition: all 0.6s ease;
}

/* زر الإرسال */
.form-section button {
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-text {
        margin-bottom: 2rem;
        text-align: center;
    }
    .hero-video {
        margin-top: 15px;
        margin-bottom: 2rem;
    }
}




/* لماذا الشركة الرائدة */
.why-us {
    background-color: #0f0f1a;
    position: relative;
    overflow: hidden;
    color: #f0f0f0;
}

#particlesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.why-us h2 {
    font-size: 2rem;
    color: #f9c74f;
    position: relative;
    z-index: 1;
}

/* الكروت */
.why-card {
    background-color: #1a1a2e;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,200,255,0.2);
    color: #f0f0f0;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s ease-out;
    position: relative;
    z-index: 1;
}

.why-card.show {
    opacity: 1;
    transform: scale(1);
}


.gold-live {
    background-color: #0a0a1a;
    color: #f0f0f0;
}

.gold-live h2 {
    color: #f9c74f;
    text-shadow: 0 0 10px rgba(249,199,79,0.5);
}

.gold-live p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}
.chart-container canvas {
    box-shadow: 0 0 30px rgba(249,199,79,0.2), 0 0 60px rgba(0,200,255,0.1);
}


.customer-card .card {
    color: black; /* نص فاتح ليتباين مع الخلفية الداكنة */
    direction: rtl;  /* اتجاه النص من اليمين لليسار */
    text-align: right;
    
}
.customer-card .card h3 {
    color: black; /* لون العناوين مميز */
}
.customer-card .card p {
    color: black; /* لون العناوين مميز */
}

.profit-img {
    height: auto;
    width: 100%; /* أو حجم ثابت */
}



.disclaimer {
    max-width: 700px;       /* العرض الأقصى لتسهيل القراءة */
    margin: 40px auto;      /* يضع الفقرة في الوسط أفقيًا */
    text-align: center;     /* يجعل النص مركزي */
    color: #333;            /* لون غامق داكن */
    line-height: 1.8;       /* ارتفاع سطر مناسب للقراءة */
    font-size: 0.25rem;     /* حجم خط مناسب */
    padding: 0 15px;        /* مسافة جانبية صغيرة على الشاشات الصغيرة */
}
