:root {
    --primary: #ff2e4d;
    --bg: #030303;
    --card-bg: rgba(255, 255, 255, 0.02);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --text-dim: #888888;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body { background-color: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; overflow-x: hidden; }

.cursor { width: 20px; height: 20px; border: 2px solid var(--primary); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transition: transform 0.1s ease; mix-blend-mode: difference; }
.bg-image { position: fixed; inset: 0; background: url('image_332cd6.jpg') no-repeat center center; background-size: cover; z-index: -2; filter: brightness(0.2) grayscale(60%); }
.scanline { position: fixed; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(255, 46, 77, 0.01) 50%); background-size: 100% 4px; z-index: 10; pointer-events: none; }

nav { display: flex; justify-content: space-between; padding: 1.5rem 5%; position: fixed; width: 100%; top: 0; z-index: 100; backdrop-filter: blur(15px); border-bottom: 1px solid var(--border); }
.logo { font-size: 1.5rem; font-weight: 900; }
.logo span { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 2rem; }
.system-status { font-size: 0.6rem; letter-spacing: 2px; color: var(--primary); border: 1px solid var(--primary); padding: 4px 10px; border-radius: 2px; }
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dim); font-size: 0.8rem; font-weight: 700; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.hero { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 10%; position: relative; }
.glitch { font-size: clamp(3rem, 12vw, 10rem); font-weight: 900; position: relative; }
.glitch::before { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; color: var(--primary); z-index: -1; animation: glitch 3s infinite; opacity: 0.5; }

.hero-grid { display: flex; gap: 4rem; margin-top: 3rem; }
.hero-stat .label { display: block; font-size: 0.7rem; color: var(--text-dim); margin-bottom: 5px; letter-spacing: 1px; }
.hero-stat .value { font-weight: 700; font-size: 1.2rem; }
.hero-stat .active { color: var(--primary); text-shadow: 0 0 15px var(--primary); }

.classified { color: var(--primary); font-family: monospace; position: relative; display: inline-block; }
.classified::before { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; animation: glitch_ip 0.15s infinite; color: var(--primary); z-index: -1; opacity: 0.7; }
@keyframes glitch_ip {
    0% { transform: translate(1px, -1px); }
    50% { transform: translate(-1px, 1px); }
    100% { transform: translate(1px, -1px); }
}

.scroll-indicator { position: absolute; bottom: 30px; left: 10%; display: flex; align-items: center; gap: 15px; font-size: 0.6rem; color: var(--text-dim); letter-spacing: 3px; }
.mouse { width: 20px; height: 35px; border: 2px solid var(--border); border-radius: 20px; position: relative; }
.mouse::after { content: ''; width: 4px; height: 8px; background: var(--primary); position: absolute; left: 50%; transform: translateX(-50%); top: 6px; border-radius: 2px; animation: scroll 2s infinite; }
@keyframes scroll { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 20px; } }

main { padding: 8rem 10%; }
.section-title { margin-bottom: 2rem; position: relative; display: inline-flex; align-items: center; gap: 1rem; }
.prefix { font-size: 0.8rem; color: var(--text-dim); font-weight: 400; font-family: monospace; }
.section-title h2 { font-size: 2rem; letter-spacing: 4px; color: var(--text); }

.accent-circle {
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: absolute;
    right: -25px;
    opacity: 0.7;
}

.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2rem; }

.project-card { 
    background: var(--card-bg); 
    border: 1px solid var(--border); 
    padding: 3rem; 
    transition: 0.5s; 
    position: relative;
    overflow: hidden;
}

.accent-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
}

.project-card:not(.infrastructuur) .accent-bar { display: none; }

.project-card:hover { border-color: var(--primary); background: rgba(255, 46, 77, 0.03); transform: translateY(-5px); }

.category { color: var(--primary); font-size: 0.7rem; font-weight: 800; letter-spacing: 2px; }
.project-card h3 { font-size: 2rem; margin: 10px 0; }
.project-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; max-width: 450px; }

.tech-stack {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-stack span {
    font-size: 0.65rem;
    font-family: monospace;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 2px;
    color: var(--text-dim);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.project-card:hover .tech-stack span {
    border-color: rgba(255, 46, 77, 0.3);
    color: var(--text);
}

footer { padding: 8rem 10% 4rem 10%; text-align: center; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; }
.contact-box h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-btn { display: inline-block; padding: 1.2rem 3.5rem; border: 1px solid var(--primary); color: white; text-decoration: none; font-weight: 900; letter-spacing: 2px; transition: 0.4s; margin-top: 2rem; }
.contact-btn:hover { background: var(--primary); box-shadow: 0 0 40px rgba(255, 46, 77, 0.4); }

.footer-bottom { margin-top: 6rem; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.footer-bottom p { font-size: 0.6rem; color: var(--text-dim); letter-spacing: 2px; }
.bismillah-tiny { font-family: 'Amiri Quran', serif; font-size: 1.4rem; color: rgba(255, 255, 255, 0.1); direction: rtl; transition: 1s; }
.bismillah-tiny:hover { color: rgba(255, 255, 255, 0.4); }

@keyframes glitch { 0% { transform: translate(0); } 20% { transform: translate(-3px, 2px); } 40% { transform: translate(3px, -2px); } 100% { transform: translate(0); } }

.skills-section {
    padding: 4rem 10% 8rem 10%;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.skill-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    position: relative;
}

@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
}