/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #050505 !important; /* Forces background to be dark */
    color: #e0e0e0;
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* BACKGROUND LAYERING */
#cyber-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #050505;
}

header, main, footer {
    position: relative;
    z-index: 1;
}

/* SCANLINE */
.scanline {
    width: 100%;
    height: 100px;
    z-index: 999;
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(255,255,255,0.02) 50%, rgba(0,0,0,0) 100%);
    position: fixed;
    bottom: 100%;
    animation: scanline 8s linear infinite;
    pointer-events: none;
}@keyframes scanline { 0% { bottom: 100%; } 100% { bottom: -100px; } }

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

/* HEADER */
header {
    padding: 15px 0;
    background: rgba(5, 5, 5, 0.9);
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    position: sticky;
    top: 0;
}

nav { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.logo span { color: #00f2ff; text-shadow: 0 0 10px #00f2ff; }
.logo-img { height: 35px; width: auto; filter: drop-shadow(0 0 5px #00f2ff); }

.nav-links { display: flex; list-style: none; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; color: #fff; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

.btn-nav {
    border: 1px solid #00f2ff;
    padding: 6px 15px;
    box-shadow: 0 0 5px #00f2ff;
}

/* HERO */
.hero { height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 8vw, 4.5rem);
    position: relative;
    color: #fff;
    text-transform: uppercase;
}

.glitch::before, .glitch::after {
    content: attr(data-text);    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.glitch::before { left: 2px; text-shadow: -2px 0 #ff00ff; clip: rect(44px, 450px, 56px, 0); animation: glitch-anim 5s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: -2px 0 #00f2ff; clip: rect(44px, 450px, 56px, 0); animation: glitch-anim2 5s infinite linear alternate-reverse; }

@keyframes glitch-anim { 0% { clip: rect(31px, 9999px, 94px, 0); } 100% { clip: rect(2px, 9999px, 40px, 0); } }
@keyframes glitch-anim2 { 0% { clip: rect(10px, 9999px, 85px, 0); } 100% { clip: rect(70px, 9999px, 20px, 0); } }

.text-highlight { color: #00f2ff; text-shadow: 0 0 5px #00f2ff; }

.hero-btns { display: flex; gap: 15px; justify-content: center; margin-top: 30px; }

.btn-primary, .btn-secondary {
    padding: 12px 30px;    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    transition: 0.3s;
}

.btn-primary { background: #00f2ff; color: #000; font-weight: bold; }
.btn-secondary { border: 1px solid #ff00ff; color: #ff00ff; }
.btn-primary:hover { box-shadow: 0 0 20px #00f2ff; transform: scale(1.05); }

/* CARDS */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; padding: 60px 0; }

.card {
    background: #0f0f0f;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); }

.card-tag { font-size: 0.65rem; text-transform: uppercase; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; color: #888; }

.pulse { width: 8px; height: 8px; background: #00ff00; border-radius: 50%; box-shadow: 0 0 8px #00ff00; animation: pulse-kf 2s infinite; }
@keyframes pulse-kf { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

.card h3 { font-family: 'Orbitron', sans-serif; margin-bottom: 10px; font-size: 1.3rem; }

.features { list-style: none; margin: 20px 0; color: #888; font-size: 0.9rem; }
.features li::before { content: "// "; color: #00f2ff; }

.card-btn {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border: 1px solid;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    transition: 0.3s;
}

.card-neon-blue { border-top: 3px solid #00f2ff; }
.card-neon-blue .card-btn { border-color: #00f2ff; color: #00f2ff; }
.card-neon-pink { border-top: 3px solid #ff00ff; }
.card-neon-pink .card-btn { border-color: #ff00ff; color: #ff00ff; }.card-neon-yellow { border-top: 3px solid #f3ec19; }.card-neon-yellow .card-btn { border-color: #f3ec19; color: #f3ec19; }

.card-btn:hover { background: #fff; color: #000; border-color: #fff; }

/* FOOTER */
footer { padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.8rem; color: #555; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; }
.footer-links a { color: #555; text-decoration: none; margin-left: 15px; }

@media (max-width: 768px) {    .nav-links { display: none; }
    .hero-btns { flex-direction: column; }
}
