:root {
    /* لوحة ألوان محسنة - فخامة تقنية */
    --bg: #030303; /* أسود أعمق */
    --primary: #a855f7; /* بنفسجي SEPT الشهير */
    --secondary: #6366f1; /* أزرق نيون للتدرجات */
    --accent: #d8b4fe; /* بنفسجي فاتح للإضاءة */
    --white: #ffffff;
    --dim: #94a3b8; /* رمادي ناعم */
    --glass: rgba(255, 255, 255, 0.02); /* زجاج خفيف جداً */
    --glass-heavy: rgba(168, 85, 247, 0.05); /* زجاج بلمحة بنفسجية */
    --border: rgba(255, 255, 255, 0.08); /* حدود ناعمة */
    --border-glow: rgba(168, 85, 247, 0.3); /* توهج للحدود */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    selection-background: var(--primary);
    selection-color: white;
}

/* تخصيص السكرول بار (Scrollbar) ليكون متناسقاً */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

body { 
    background: var(--bg); 
    color: var(--white); 
    font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif; 
    overflow-x: hidden; 
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }
.purple { color: var(--primary); text-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }

/* --- Loader (تحسين الشكل) --- */
#loader { position: fixed; inset: 0; background: #000; z-index: 10000; display: flex; align-items: center; justify-content: center; }
.loader-content { text-align: center; }
.loader-circle { width: 70px; height: 70px; border: 2px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s infinite linear; margin: 0 auto 25px; box-shadow: 0 0 30px rgba(168, 85, 247, 0.2); }
.loader-bar { width: 250px; height: 2px; background: var(--border); position: relative; overflow: hidden; margin: 0 auto 15px; border-radius: 10px; }
.loader-bar span { position: absolute; height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--primary), transparent); animation: load 1.2s infinite ease-in-out; }
.loader-text { letter-spacing: 4px; font-weight: 300; font-size: 12px; color: var(--dim); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes load { from { left: -40%; } to { left: 110%; } }

/* --- Cursor (نعومة أكثر) --- */
#cursor-dot { width: 6px; height: 6px; background: var(--white); border-radius: 50%; position: fixed; z-index: 10001; pointer-events: none; }
#cursor-outline { width: 45px; height: 45px; border: 1.5px solid var(--primary); border-radius: 50%; position: fixed; z-index: 10000; pointer-events: none; transition: width 0.3s, height 0.3s, background 0.3s; }

/* --- Background Vibe --- */
.bg-vibe { 
    position: fixed; 
    inset: 0; 
    z-index: -1; 
    background: #030303;
    background-image: radial-gradient(rgba(168, 85, 247, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
}
.orb { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; animation: orbFloat 20s infinite alternate; }
.orb-1 { width: 600px; height: 600px; background: var(--primary); top: -200px; right: -100px; }
.orb-2 { width: 500px; height: 500px; background: var(--secondary); bottom: -150px; left: -100px; opacity: 0.1; }
.orb-3 { width: 300px; height: 300px; background: #f43f5e; top: 40%; left: 30%; opacity: 0.05; }
.grid-overlay { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at center, black, transparent 80%); }

@keyframes orbFloat { from { transform: translate(0,0); } to { transform: translate(30px, 50px); } }

/* --- Navigation (تأثير زجاجي فخم) --- */
.main-nav { position: fixed; top: 0; width: 100%; z-index: 999; padding: 20px 0; background: rgba(3, 3, 3, 0.7); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); transition: var(--transition); }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.brand-identity { display: flex; align-items: center; gap: 18px; cursor: pointer; }
.logo-box img { height: 48px; border-radius: 12px; border: 1px solid var(--border); transition: var(--transition); }
.brand-identity:hover .logo-box img { border-color: var(--primary); transform: rotate(-5deg) scale(1.05); }
.logo-name span { display: block; font-weight: 900; font-size: 1.6rem; letter-spacing: 2px; line-height: 1; }
.logo-name small { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: 1px; }

.nav-links { display: flex; gap: 35px; list-style: none; align-items: center; }
.nav-link-item { text-decoration: none; color: var(--dim); font-size: 14px; font-weight: 700; transition: var(--transition); position: relative; }
.nav-link-item:hover { color: var(--white); }
.nav-link-item::after { content: ''; position: absolute; bottom: -5px; right: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-link-item:hover::after { width: 100%; }

.btn-contact-nav { background: var(--white); color: #000 !important; padding: 12px 28px; border-radius: 50px; font-weight: 800; transition: var(--transition); box-shadow: 0 10px 20px rgba(255,255,255,0.1); }
.btn-contact-nav:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(168, 85, 247, 0.3); background: var(--primary); color: var(--white) !important; }


.btn-start-project:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.4);
}

/* --- Hero Section --- */
.hero-master { padding: 200px 0 120px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; }

.premium-badge { background: var(--glass-heavy); border: 1px solid var(--border-glow); padding: 10px 22px; border-radius: 50px; font-size: 13px; color: var(--accent); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 35px; backdrop-filter: blur(5px); }
.pulse { width: 10px; height: 10px; background: var(--primary); border-radius: 50%; animation: pulse-anim 2s infinite; box-shadow: 0 0 15px var(--primary); }
@keyframes pulse-anim { 0% { transform: scale(0.9); opacity: 1; } 70% { transform: scale(1.8); opacity: 0; } 100% { transform: scale(0.9); opacity: 0; } }

.main-title { font-size: 5rem; font-weight: 900; line-height: 1.05; margin-bottom: 30px; letter-spacing: -1px; }
.text-gradient { background: linear-gradient(135deg, #fff 30%, var(--primary) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.hero-p { font-size: 1.25rem; color: var(--dim); margin-bottom: 45px; max-width: 650px; font-weight: 400; }

.hero-btns { display: flex; gap: 25px; margin-bottom: 60px; }
.btn-wa { background: #25d366; color: #fff; padding: 20px 40px; border-radius: 18px; text-decoration: none; font-weight: 800; display: flex; align-items: center; gap: 15px; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.2); transition: var(--transition); }
.btn-wa:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 20px 45px rgba(37, 211, 102, 0.3); }

.btn-sub { padding: 20px 40px; border: 1px solid var(--border); color: #fff; border-radius: 18px; text-decoration: none; display: flex; align-items: center; gap: 12px; transition: var(--transition); background: var(--glass); }
.btn-sub:hover { background: var(--white); color: #000; border-color: var(--white); }

.hero-stats { display: flex; gap: 50px; border-top: 1px solid var(--border); padding-top: 45px; }
.stat-item strong { display: block; font-size: 2.2rem; color: var(--white); font-family: 'Plus Jakarta Sans'; margin-bottom: 5px; }
.stat-item span { font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: 2px; }

/* --- Hero Visual --- */
.hero-canvas { display: flex; justify-content: center; position: relative; }
.abstract-shape { width: 400px; height: 400px; background: linear-gradient(45deg, var(--primary), var(--secondary)); border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; animation: morph 10s infinite alternate; position: relative; box-shadow: 0 0 100px rgba(168, 85, 247, 0.3); }
.inner-shape { position: absolute; inset: 10px; background: var(--bg); border-radius: inherit; z-index: 1; }
.floating-icons i { position: absolute; font-size: 2.5rem; color: var(--primary); z-index: 5; filter: drop-shadow(0 0 15px var(--primary)); animation: float 4s infinite ease-in-out; }
.floating-icons i:nth-child(1) { top: 0; left: -10%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { bottom: 10%; right: -15%; animation-delay: 1s; }
.floating-icons i:nth-child(3) { top: 50%; right: -20%; animation-delay: 2s; }

@keyframes morph { 
    0% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; transform: rotate(0deg); } 
    100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; transform: rotate(15deg); } 
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* --- Services Section --- */
.services-sec { padding: 120px 0; border-top: 1px solid var(--border); background: linear-gradient(to bottom, transparent, rgba(168, 85, 247, 0.02)); }
.sec-header { text-align: center; margin-bottom: 90px; }
.sub-title { color: var(--primary); font-weight: 800; letter-spacing: 3px; font-size: 14px; text-transform: uppercase; }
.sec-header h2 { font-size: 4rem; margin: 20px 0; font-weight: 900; }
.line-glow { width: 100px; height: 5px; background: linear-gradient(90deg, transparent, var(--primary), transparent); margin: 0 auto; border-radius: 10px; box-shadow: 0 0 20px var(--primary); }

.services-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }

/* تنسيق كروت الخدمات (مطابق للصورة الثالثة) */
.s-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(168, 85, 247, 0.02) 100%);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 35px;
    padding: 50px 35px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* الأرقام الشفافة خلف الكروت (01, 02, 03) */
.s-card::before {
    content: attr(data-index);
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 7rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    font-family: 'Plus Jakarta Sans';
}
.s-card:hover { transform: translateY(-15px); border-color: var(--primary); background: rgba(168, 85, 247, 0.05); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.s-icon { position: relative; z-index: 1; width: 70px; height: 70px; background: var(--glass-heavy); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: var(--primary); margin-bottom: 30px; border: 1px solid var(--border); }
.s-card h3 { position: relative; z-index: 1; font-size: 1.6rem; margin-bottom: 18px; font-weight: 800; }
.s-card p { position: relative; z-index: 1; color: var(--dim); font-size: 0.95rem; margin-bottom: 25px; flex-grow: 1; }
.s-features { position: relative; z-index: 1; list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.s-features li { color: var(--white); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.s-features li::before { content: '→'; color: var(--primary); font-weight: 900; }

.active-card { border-color: var(--primary); background: var(--glass-heavy); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }

/* --- FAQ Section --- */
.faq-section { padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: center; }
.faq-info h2 { font-size: 3.8rem; line-height: 1.1; margin-bottom: 25px; }
.faq-img { width: 100%; border-radius: 40px; border: 1px solid var(--border); transition: var(--transition); filter: grayscale(0.5); }
.faq-img:hover { filter: grayscale(0); border-color: var(--primary); transform: scale(1.02); }

.faq-list { display: flex; flex-direction: column; gap: 20px; }
.faq-item { background: var(--glass); border: 1px solid var(--border); border-radius: 25px; transition: var(--transition); cursor: pointer; }
.faq-item:hover { border-color: var(--border-glow); background: rgba(255,255,255,0.04); }
.faq-question { padding: 30px; font-weight: 800; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.faq-question i { color: var(--primary); transition: var(--transition); }
.faq-answer { padding: 0 30px 30px; color: var(--dim); line-height: 1.8; border-top: 1px solid var(--border); padding-top: 20px; display: none; }

/* --- Contact Section (Fixed & Premium) --- */
.contact-ultra { padding: 120px 0; }
.contact-box { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 100px; 
    background: var(--glass); 
    border: 1px solid var(--border); 
    padding: 80px; 
    border-radius: 50px; 
    align-items: center;
    position: relative;
    overflow: hidden;
}
.contact-box::after { content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%); z-index: -1; }

.contact-content h2 { font-size: 4rem; margin-bottom: 25px; font-weight: 900; }
.social-links-grid { display: flex; flex-direction: column; gap: 25px; margin-top: 50px; }
.sc-link { 
    text-decoration: none; color: #fff; background: rgba(255,255,255,0.03); 
    padding: 30px; border-radius: 25px; border: 1px solid var(--border); 
    display: flex; align-items: center; gap: 25px; transition: var(--transition);
}
.sc-link i { font-size: 2.2rem; color: var(--primary); }
.sc-link div strong { display: block; font-size: 1.2rem; margin-bottom: 5px; }
.sc-link div span { color: var(--dim); font-size: 14px; }
.sc-link:hover { transform: translateX(-15px); border-color: var(--primary); background: var(--glass-heavy); }

/* تنسيق حقول الإدخال في الموبايل لضمان عدم "التعليق" */
.glass-form { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); padding: 50px; border-radius: 40px; backdrop-filter: blur(10px); }
.glass-form h3 { font-size: 1.8rem; margin-bottom: 35px; text-align: center; }
.glass-form input, .glass-form textarea { 
    width: 100%; 
    background: rgba(0, 0, 0, 0.5) !important; 
    border: 1px solid var(--border); 
    padding: 20px; 
    border-radius: 15px; 
    color: #fff; 
    margin-bottom: 25px; 
    font-family: 'Cairo'; 
    font-size: 15px; 
    transition: var(--transition); 
}
.glass-form input:focus, .glass-form textarea:focus { border-color: var(--primary); outline: none; background: #050505; box-shadow: 0 0 20px rgba(168, 85, 247, 0.1); }
.btn-send { width: 100%; padding: 22px; background: var(--primary); border: none; border-radius: 15px; color: #fff; font-weight: 900; font-size: 1.1rem; cursor: pointer; transition: var(--transition); box-shadow: 0 15px 30px rgba(168, 85, 247, 0.3); }
.btn-send:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(168, 85, 247, 0.5); filter: brightness(1.1); }

/* --- Footer --- */
.grand-footer { padding: 100px 0 50px; border-top: 1px solid var(--border); background: #010101; }
.f-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 60px; }
.f-brand { font-size: 3rem; font-weight: 950; color: var(--white); letter-spacing: -2px; }
.f-nav { display: flex; gap: 40px; }
.f-nav a { text-decoration: none; color: var(--dim); font-size: 15px; font-weight: 600; transition: var(--transition); }
.f-nav a:hover { color: var(--primary); }
.f-bottom { text-align: center; border-top: 1px solid var(--border); padding-top: 40px; color: var(--dim); font-size: 14px; }
.f-bottom strong { color: var(--white); }

/* --- Responsive (Mobile Optimization) --- */
@media (max-width: 1200px) {
    .hero-grid, .contact-box, .faq-grid { gap: 50px; }
    .main-title { font-size: 4rem; }
    .services-wrapper { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .hero-grid, .services-wrapper, .faq-grid, .contact-box, .f-top { grid-template-columns: 1fr; text-align: center; }
    .hero-info, .faq-info, .contact-content { display: flex; flex-direction: column; align-items: center; }
    .hero-btns, .hero-stats, .f-nav { justify-content: center; flex-wrap: wrap; }
    .main-title { font-size: 3.2rem; }
    .hero-canvas { margin-top: 50px; }
    .contact-box { padding: 40px 20px; }
    .f-nav { margin-top: 30px; flex-direction: column; gap: 15px; }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .main-title { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn-wa, .btn-sub { width: 100%; justify-content: center; }
    .hero-stats { gap: 20px; }
    .stat-item strong { font-size: 1.5rem; }
    .abstract-shape { width: 280px; height: 280px; }
    .services-wrapper { grid-template-columns: 1fr; }
    .s-card { padding: 40px 20px; }
}
/* --- Cookie Banner Style --- */
.cookie-box {
    position: fixed;
    bottom: -100%; /* مخفي في البداية */
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 25px;
    z-index: 9999;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cookie-box.show {
    bottom: 20px; /* يرتفع للأعلى عند الظهور */
}

.cookie-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.cookie-icon {
    width: 45px;
    height: 45px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a855f7;
}

.cookie-text h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.cookie-text p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
}

.cookie-text a {
    color: #a855f7;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.btn-cookie-accept {
    flex: 2;
    background: #a855f7;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    transition: 0.3s;
}

.btn-cookie-accept:hover {
    background: #9333ea;
    transform: translateY(-2px);
}

.btn-cookie-decline {
    flex: 1;
    background: transparent;
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

@media (max-width: 600px) {
    .cookie-box {
        left: 10px;
        right: 10px;
        bottom: -100%;
    }
}
/* --- ضبط استجابة الشاشات (Responsive Design) --- */

/* للشاشات المتوسطة (Tablets) */
@media (max-width: 992px) {
    .document-border {
        width: 95%;
        margin: 10px auto;
    }
    .terms-container {
        padding: 30px 40px;
    }
}

/* للشاشات الصغيرة (Mobile Phones) */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .document-border {
        width: 100%;
        border-width: 1px;
    }
    .terms-container {
        padding: 20px 15px; /* تقليل المسافات الجانبية جداً للموبايل */
    }
    .brand-name {
        font-size: 1.5rem;
    }
    .main-title {
        font-size: 1.1rem;
    }
    .terms-section h2 {
        font-size: 0.95rem;
        padding-right: 8px;
    }
    .terms-list li {
        font-size: 0.85rem;
        line-height: 1.5;
        padding-right: 15px;
    }
    .watermark {
        font-size: 4rem; /* تصغير العلامة المائية عشان متغطيش عالكلام */
    }
}

/* تحسينات إضافية للطباعة لضمان عدم خروج الإطار عن الورقة */
@media print {
    @page {
        size: A4;
        margin: 10mm;
    }
    .document-border {
        width: 100%;
        max-width: none;
        height: auto;
    }
}
/* =========================================
   Join Team Section (التوظيف)
   ========================================= */
.join-team-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.glass-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 60px 40px;
    border-radius: 30px;
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* تأثير الإضاءة الخلفية للبطاقة */
.glass-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.glass-container:hover {
    transform: translateY(-10px);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(168, 85, 247, 0.2);
}

.glass-container h2 {
    font-size: 2.5rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    margin-bottom: 15px;
}

.glass-container p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.8;
}

/* زر التقديم المخصص */
.glass-container .btn-main {
    background: linear-gradient(135deg, var(--primary) 0%, #7e22ce 100%);
    border: none;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.glass-container .btn-main i {
    transition: 0.3s;
}

.glass-container .btn-main:hover i {
    transform: translateX(-5px) rotate(-10deg);
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .glass-container {
        margin: 0 20px;
        padding: 40px 20px;
    }
    
    .glass-container h2 {
        font-size: 1.8rem;
    }
}
