:root {
    --bg-dark: #0a0a0b;
    --bg-card: #161618;
    --accent: #f59e0b; /* From your logo's mane */
    --accent-gradient: linear-gradient(135deg, #f59e0b, #ea580c);
    --text-white: #ffffff;
    --text-muted: #a1a1aa;
    --border: #27272a;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    line-height: 1.6;
}

.arabic {
    font-family: 'Noto Sans Arabic', sans-serif;
    direction: rtl;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

/* Navbar */
.navbar { padding: 20px 0; border-bottom: 1px solid var(--border); background: rgba(10, 10, 11, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.main-logo { height: 45px; }
.logo-text { font-weight: 800; font-size: 1.4rem; margin-left: 10px; color: #fff; }
.logo-text span { color: var(--accent); }

/* Hero */
.hero { padding: 100px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.accent-text { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
.badge { display: inline-block; padding: 4px 12px; border: 1px solid var(--accent); color: var(--accent); border-radius: 20px; font-size: 0.7rem; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; }
h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 10px; }
.hero-text p { font-size: 1.1rem; color: var(--text-muted); margin-top: 15px; }

/* Visuals */
.knight-container { position: relative; text-align: center; }
.floating-knight { width: 100%; max-width: 350px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.2)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Stats Bar */
.stats-ribbon { padding: 40px 0; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-box strong { display: block; font-size: 2rem; color: var(--accent); }
.stat-box span { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; }

/* Feature Cards */
.feature-grid { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.features-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: var(--bg-card); padding: 40px; border-radius: 16px; border: 1px solid var(--border); transition: 0.3s; }
.feature-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.feature-card.highlighted { background: linear-gradient(180deg, #1d1d20, #161618); border-top: 3px solid var(--accent); }
.card-icon { font-size: 2.5rem; margin-bottom: 20px; }

/* Buttons */
.btn-primary { background: var(--accent-gradient); color: #fff; padding: 14px 28px; border-radius: 8px; text-decoration: none; font-weight: 700; display: inline-block; }
.btn-secondary { color: #fff; text-decoration: none; font-weight: 600; margin-left: 20px; border-bottom: 2px solid var(--accent); padding-bottom: 4px; }


/* Live Monitor Styling */
.live-monitor { padding-bottom: 50px; }
.console {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.console-header {
    background: #1a1a1c;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}
.dot { height: 8px; width: 8px; border-radius: 50%; margin-right: 6px; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.console-header .title {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: monospace;
    margin-left: 10px;
    letter-spacing: 1px;
}
.console-body {
    padding: 20px;
    display: flex;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
}
.pulse {
    height: 10px;
    width: 10px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse-glow 1.5s infinite;
}
.status-msg {
    color: var(--accent);
    font-size: 0.9rem;
    transition: opacity 0.5s ease;
}
@keyframes pulse-glow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Live Monitor & Console */
.live-monitor { padding-bottom: 50px; margin-top: -30px; }
.console {
    background: #000;
    border: 1px solid var(--border);
    border-radius: 8px;
    max-width: 450px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.console-header {
    background: #1a1a1c;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
}
.dot { height: 8px; width: 8px; border-radius: 50%; margin-right: 6px; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.console-header .title { font-size: 0.65rem; color: var(--text-muted); font-family: monospace; margin-left: 10px; }
.console-body { padding: 20px; display: flex; align-items: center; font-family: monospace; }
.pulse {
    height: 10px; width: 10px; background: var(--accent); border-radius: 50%;
    margin-right: 15px; box-shadow: 0 0 10px var(--accent);
    animation: pulse-glow 1.5s infinite;
}
.status-msg { color: var(--accent); font-size: 0.9rem; transition: opacity 0.5s ease; }

@keyframes pulse-glow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Architecture Diagram */
.architecture-visual { padding: 80px 0; background: var(--bg-card); text-align: center; border-bottom: 1px solid var(--border); }
.flow-container { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.node { padding: 15px 25px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-dark); font-weight: bold; }
.node.gold { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 15px rgba(245, 158, 11, 0.1); }
.line { flex-grow: 1; height: 2px; background: var(--border); max-width: 100px; position: relative; }
.line::after { content: '➔'; position: absolute; right: -5px; top: -10px; color: var(--border); }



.product-showcase { padding: 100px 0; background: var(--bg-dark); }
.gallery-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 30px; 
    margin-top: 50px; 
}
.gallery-item { 
    position: relative; 
    border-radius: 12px; 
    overflow: hidden; 
    border: 1px solid var(--border);
    cursor: zoom-in;
}
.gallery-item img { width: 100%; display: block; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.item-overlay { 
    position: absolute; bottom: 0; left: 0; right: 0; 
    background: linear-gradient(transparent, rgba(0,0,0,0.8)); 
    padding: 20px; color: var(--accent); font-weight: bold; 
}


.architecture-visual { padding: 100px 0; background: #0f0f10; border-top: 1px solid var(--border); }
.diagram-wrapper { max-width: 900px; margin: 0 auto; padding: 40px; background: rgba(255,255,255,0.02); border-radius: 20px; }
.tech-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; text-align: center; }
.label-item strong { color: var(--accent); display: block; margin-bottom: 10px; font-size: 1.1rem; }
.label-item p { font-size: 0.9rem; color: var(--text-muted); }