:root {
    --primary: #ff0000;
    --secondary: #8a2be2;
    --accent: #00ff00;
    --background: #0a0a0a;
    --text: #ffffff;
    --danger: #ff0000;
    --warning: #ffff00;
}

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

body {
    font-family: 'Courier New', monospace;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glitch Effect */
.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid var(--primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(45deg, rgba(0,0,0,0.9), rgba(0,0,0,0.7)),
                url('https://source.unsplash.com/random/1920x1080/?cybersecurity') center/cover;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0.1;
}

.hero-content {
    z-index: 1;
}

.glitch {
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    text-shadow: 
        0.05em 0 0 var(--primary),
        -0.05em -0.025em 0 var(--secondary),
        -0.025em 0.05em 0 var(--warning);
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.typewriter {
    font-size: 1.5rem;
    margin: 1rem 0;
    border-right: 2px solid var(--primary);
    white-space: nowrap;
    overflow: hidden;
    animation: typing 4s steps(40) infinite;
}

@keyframes typing {
    0%, 100% { width: 0; }
    50% { width: 100%; }
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat span:first-child {
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Sections */
section {
    padding: 5rem 2rem;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

/* About Section */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid var(--primary);
    border-radius: 5px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid var(--secondary);
    border-radius: 5px;
    transition: all 0.3s;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--secondary);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text);
    margin: 1rem 0;
    font-size: 0.9rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.service-list li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
    font-size: 0.85rem;
}

.service-list li:before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Contact Section */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 0, 0.1);
    border: 1px solid var(--warning);
    border-radius: 5px;
}

.contact-card i {
    font-size: 2rem;
    color: var(--warning);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-top: 2px solid var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .glitch {
        font-size: 2rem;
    }
}
