/* l4.css - The Blueprint of Dominance */

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

:root {
    --bg-black: #02040a;
    --matrix-green: #00ff9d; /* لون تقني يوحي بالعمليات */
    --nova-blue: #3b82f6;
    --text-white: #f8fafc;
    --line-color: rgba(59, 130, 246, 0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    line-height: 1.8;
    overflow-x: hidden;
}

/* خلفية تكنولوجية تشبه الدوائر الكهربائية */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--line-color) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    mask-image: radial-gradient(circle, black, transparent 80%);
}

.container { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }

/* Header */
.work-header {
    text-align: center;
    margin-bottom: 80px;
}

.work-header h1 {
    font-size: clamp(2rem, 7vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(135deg, #fff, var(--nova-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Vertical Timeline Line */
.process-wrapper {
    position: relative;
    padding: 20px 0;
}

.process-wrapper::before {
    content: "";
    position: absolute;
    right: 20px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--nova-blue), var(--matrix-green), transparent);
}

/* Step Card */
.step-container {
    position: relative;
    margin-bottom: 60px;
    padding-right: 50px;
}

.step-number {
    position: absolute;
    right: -10px;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--bg-black);
    border: 2px solid var(--nova-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--nova-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    z-index: 2;
}

.step-content {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    transition: 0.3s;
}

.step-content:hover {
    border-color: var(--matrix-green);
    transform: translateX(-10px);
}

.step-content h3 {
    font-size: 1.6rem;
    color: var(--matrix-green);
    margin-bottom: 15px;
}

.step-content p {
    color: #cbd5e1;
    text-align: justify;
}

/* Feature Icon List */
.tech-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.spec-item {
    background: rgba(255,255,255,0.05);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--nova-blue);
    border: 1px solid var(--line-color);
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-tech {
    animation: float 4s ease-in-out infinite;
}

@media (max-width: 768px) {
    .step-content h3 { font-size: 1.3rem; }
}