/* ==========================================================================
   Ultra-Luxury Dark Glassmorphism Stylesheet (Premium LTR Edition)
   ========================================================================== */

:root {
            /* أسود عميق جداً يشبه شاشات اليخوت والسيارات الرياضية الفاخرة */
    --text-primary: #f8fafc;     /* أبيض بلاتيني مشع وهادئ جداً للعين */
    --text-secondary: #d4d4d4;   /* فضي ناعم متناسق تماماً للشروحات */
    --text-dimmed: #aaedfc;      /* رمادي داكن هادئ للعناصر والميتا تاقز */  
      
    /* الخلطة الحصرية للزجاج فائق النقاء الفخم جداً (Ultra-Thin Pure Glass) */
    --glass-core: rgba(10, 16, 27, 0.4);
    --glass-border-thin: rgba(255, 255, 255, 0.035);
    --glass-border-active: rgba(255, 255, 255, 0.455);
    --premium-blur: blur(28px);
    --shadow-deep: rgba(0, 0, 0, 0.85);
}
 
/* التصفير المعماري للموقع والخطوط */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
    
    /* 🌟 هنا السحر: استبدال اللون بالصورة الخاصة بك مع طبقة حماية داكنة */
    background : url('https://4kwallpapers.com/images/walls/thumbs_3t/26444.jpg');
    
    /* ضبط أبعاد الصورة لتغطية الشاشة بالكامل وبشكل متناسق */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* تثبيت الخلفية أثناء النزول (Scroll) ليعطي تأثير الحركة الزجاجية الخارقة للكروت */
    background-attachment: fixed; 
    
    color: var(--text-secondary);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}






/* 1️⃣ تحديد عرض شريط التمرير (نجعله نحيفاً جداً ليناسب المظهر الزجاجي) */
::-webkit-scrollbar {
    width: 6px; 
    height: 6px;
}

/* 2️⃣ إخفاء مجرى السكرول بار بالكامل (خلفية مخفية 100%) */
::-webkit-scrollbar-track {
    background: transparent; 
}

/* 3️⃣ القطعة المتحركة (Thumb): تأثير بلوري شبه مخفي في الحالة العادية */
::-webkit-scrollbar-thumb {
    /* تأثير بلوري خفيف جداً غامق ليندمج مع تفاصيل الخلفية بدون تشتيت */
    background: rgba(255, 255, 255, 0.04); 
    
    /* إضافة حواف زجاجية ناعمة لتحديد القطعة */
    border-box: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 10px;
    
    /* تنعيم الحركة عند ظهور واختفاء الإضاءة */
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 4️⃣ السحر التفاعلي: عندما يمر الماوس فوق منطقة السكرول، تبرز القطعة البلورية بوضوح الفخامة */
::-webkit-scrollbar-thumb:hover {
    /* يرتفع التباين الزجاجي وتضيء بنعومة بلون الـ Cyan التكتيكي المعتمد في أسفل الموقع */
    background: rgba(0, 242, 254, 0.25); 
    
    /* إبراز الحواف الضوئية للقطعة الزجاجية */
    border: 1px solid rgba(0, 242, 254, 0.4); 
    
    /* إضافة توهج خلفي ناعم جداً (Glow Effect) */
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}







/* طبقة محاكاة حبيبات الزجاج الفاخرة (Cinematic Grain Texture) */
.luxury-bg-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.015;
    background-image: url('lunar-tides-5120x4266-26444.jpg');
    pointer-events: none;
    z-index: 999;
}

/* إضاءة خلفية ناعمة تفاعلية للموقع (Ambient Ambient Background Dynamic Layer) */
.ambient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle 450px at var(--mouse-x, 50%) var(--mouse-y, 30%), rgba(255, 255, 255, 0.025), transparent 80%);
    z-index: -1;
    pointer-events: none;
    transition: background 0.1s ease;
}

/* الهيدر النحيف العائم والفاخر (Floating Navigation Console) */
.premium-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1300px;
    height: 68px;
    border-radius: 100px;
    border: 1px solid var(--glass-border-thin);
    z-index: 1000;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.nav-blur-backup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 7, 13, 0.6);
    backdrop-filter: var(--premium-blur);
    -webkit-backdrop-filter: var(--premium-blur);
    z-index: -1;
}

.nav-container {
    width: 100%;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.logo-dot {
    width: 4px;
    height: 4px;
    background-color: var(--text-primary);
    border-radius: 50%;
    opacity: 0.6;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    margin-right: 32px;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: var(--text-primary);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--text-primary);
    color: var(--bg-deep);
}

/* تصميم كروت الزجاج الفخمة الموحدة */
.ultra-glass-card {
    background: var(--glass-core);
    backdrop-filter: var(--premium-blur);
    -webkit-backdrop-filter: var(--premium-blur);
    border: 1px solid var(--glass-border-thin);
    border-radius: 24px;
    box-shadow: 0 30px 70px var(--shadow-deep);
    transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero Section High-End Viewport */
.hero-viewport {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 24px 60px 24px;
    position: relative;
}

.hero-wrapper {
    max-width: 1000px;
    text-align: center;
}

.hero-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.premium-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 18px;
    border-radius: 100px;
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 8px #fff;
}

.badge-text {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hero-main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.text-gradient {
    background: linear-gradient(180deg, #ffffff 40%, #5d6e85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 48px auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.action-btn-solid, .action-btn-transparent {
    padding: 16px 36px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-btn-solid {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.action-btn-solid:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.action-btn-transparent {
    background: transparent;
    color: var(--text-dimmed);
    border: 1px solid var(--glass-border-thin);
}

.action-btn-transparent:hover {
    color: var(--text-primary);
    border-color: var(--glass-border-active);
}

/* مؤشر النزول الهادئ للفأرة */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    width: 24px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.mouse-wheel {
    width: 2px;
    height: 6px;
    background-color: var(--text-primary);
    border-radius: 100px;
    animation: scrollAnimation 1.8s infinite ease-in-out;
}

@keyframes scrollAnimation {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* الحاويات العامة الفخمة */
.luxury-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-meta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-dimmed);
    display: block;
    margin-bottom: 12px;
}

.text-center-block { text-align: center; }

.premium-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.section-header-alignment {
    margin-bottom: 56px;
}

/* قسم Profile المطور */
.profile-grid {
    display: grid;
    grid-template-columns: 0.35fr 1fr;
    gap: 48px;
    padding: 56px;
}

.premium-paragraph {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 24px;
    text-align: justify;
}

.premium-paragraph:last-child { margin-bottom: 0; }

.highlight-text {
    color: var(--text-primary);
    font-weight: 600;
}

/* شبكة المهارات التكتيكية */
.matrix-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.skill-card-premium {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.card-icon-indicator {
    position: absolute;
    top: 0;
    left: 40px;
    width: 24px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.15);
}

.skill-card-premium:hover {
    border-color: var(--glass-border-active);
}

.skill-card-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.skill-card-desc {
    font-size: 0.88rem;
    color: var(--text-dimmed);
    margin-bottom: 28px;
}

.premium-skill-list {
    list-style: none;
}

.premium-skill-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    padding-left: 16px;
    position: relative;
}

.premium-skill-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 1px;
    background-color: var(--text-dimmed);
}

/* المشاريع على شكل خطوط إنتاج فخمة جداً */
.luxury-project-pipeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-strip-card {
    padding: 48px;
    display: grid;
    grid-template-columns: 0.2fr 1fr;
    gap: 40px;
}

.project-strip-card:hover {
    border-color: var(--glass-border-active);
}

.project-strip-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-serial {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dimmed);
}

.premium-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border-thin);
    border-radius: 100px;
    width: fit-content;
}

.project-strip-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.project-strip-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.project-technical-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.highlight-item {
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.highlight-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-dimmed);
}

.project-action-link-zone {
    margin-top: 16px;
}

.luxury-hyperlink {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.luxury-hyperlink:hover {
    border-bottom-color: var(--text-primary);
}

.arrow-diagonal {
    display: inline-block;
    transition: transform 0.3s ease;
}

.luxury-hyperlink:hover .arrow-diagonal {
    transform: translate(3px, -3px);
}

/* شبكة الـ Timeline المتناسقة */
.premium-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.timeline-node-card {
    padding: 40px;
    position: relative;
}

.timeline-accent-bar {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 2px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
}

.timeline-date {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-dimmed);
    display: block;
    margin-bottom: 16px;
}

.timeline-node-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-node-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* تذييل الاتصال الفخم الخارق */
.luxury-footer-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 24px 100px 24px;
}

.footer-main-card {
    padding: 80px 40px;
    text-align: center;
}

.footer-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.terminal-contact-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.contact-pill-item {
    display: flex;
    gap: 8px;
    font-size: 1.05rem;
}

.pill-label {
    color: var(--text-dimmed);
    font-family: 'Space Grotesk', sans-serif;
}

.pill-value, .pill-value-link {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
}

.pill-value-link {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pill-value-link:hover {
    border-bottom-color: var(--text-primary);
}

.footer-social-vault {
    margin-bottom: 56px;
}

.vault-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    margin: 0 16px;
    border: 1px solid var(--glass-border-thin);
    padding: 12px 32px;
    border-radius: 100px;
    background: rgba(255,255,255,0.01);
    transition: all 0.3s ease;
}

.vault-link:hover {
    border-color: var(--glass-border-active);
    color: var(--text-primary);
    background: rgba(255,255,255,0.03);
}

.footer-meta-data {
    max-width: 700px;
    margin: 0 auto;
}

.meta-lang {
    font-size: 0.88rem;
    color: var(--text-dimmed);
    margin-bottom: 24px;
}

.footer-divider-line {
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 0 auto 24px auto;
}

.meta-copyright {
    font-size: 0.8rem;
    color: var(--text-dimmed);
}

/* تأثيرات الظهور التدريجي (Premium Reveal Dynamic States) */
.animate-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUpObj 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeUpObj {
    to { opacity: 1; transform: translateY(0); }
}

/* استجابة الشاشات الصغيرة للهواتف */
@media (max-width: 900px) {
    .premium-nav { width: 95%; padding: 0 16px; }
    .nav-links { display: none; }
    .hero-main-title { font-size: 2.5rem; }
    .profile-grid { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
    .project-strip-card { grid-template-columns: 1fr; padding: 32px; gap: 20px; }
    .terminal-contact-links { flex-direction: column; gap: 16px; align-items: center; }
}