:root {
    --bg-color: #0A0A0A;
    --main-color: #00FFFF;
    --sec-color: #FF00FF;
    --text-color: #FFFFFF;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Roboto Mono', monospace;
    overflow-x: hidden;
}

#canvas-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.3;
}

.header {
    position: fixed;
    width: 100%;
    padding: 20px;
    z-index: 100;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--main-color);
    text-shadow: 0 0 10px var(--main-color);
    letter-spacing: 2px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--sec-color);
    text-shadow: 0 0 8px var(--sec-color);
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.glitch-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-color);
    position: relative;
    text-shadow: 2px 2px var(--sec-color), -2px -2px var(--main-color);
    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) }
}

.lead {
    margin: 20px 0 40px;
    font-size: 1.2rem;
    color: #aaa;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 2px solid var(--main-color);
    color: var(--main-color);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--main-color);
}

.btn-primary {
    background: var(--main-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--main-color);
    box-shadow: 0 0 30px var(--main-color);
}

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

.section-dark {
    background: linear-gradient(180deg, transparent 0%, rgba(10,10,10,0.8) 100%);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--sec-color);
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 0 15px var(--sec-color);
}

.section-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #ccc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    border: 1px solid #333;
    padding: 30px;
    transition: 0.3s;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--main-color);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover {
    border-color: var(--main-color);
    box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--main-color);
    margin-bottom: 15px;
}

.contact-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    padding: 15px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--sec-color);
}

footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 50px;
    font-size: 0.8rem;
    color: #555;
}

@media (max-width: 768px) {
    .glitch-title { font-size: 2.5rem; }
    .nav { flex-direction: column; gap: 15px; }
}