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

body {
    font-family: 'Courier New', Courier, monospace;
    background: #000;
    min-height: 100vh;
    overflow-x: hidden;
    color: #0f0;
    position: relative;
}

#matrixCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 4rem 0 2rem;
    animation: fadeIn 1.5s ease-out;
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #0f0;
    text-shadow: 0 0 10px #0f0, 0 0 20px #0f0, 0 0 30px #0f0;
    animation: flicker 3s infinite;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.services-list {
    width: 100%;
    max-width: 600px;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    background: rgba(0, 255, 0, 0.03);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-left: 3px solid #0f0;
    transition: all 0.3s ease;
    animation: slideIn 0.6s ease-out backwards;
    font-size: 1.1rem;
}

.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }

.service-item:hover {
    background: rgba(0, 255, 0, 0.08);
    border-left-width: 5px;
    transform: translateX(5px);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.service-prefix {
    color: #0f0;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.3rem;
    animation: blink 1.5s infinite;
}

.service-name {
    color: #0f0;
    letter-spacing: 0.05em;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    opacity: 0.6;
    font-size: 0.85rem;
    animation: fadeIn 2s ease-out;
    color: #0f0;
}

/* Contact Section */
.contact-section {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 0;
    animation: fadeIn 1.5s ease-out;
}

.contact-title {
    font-size: 2rem;
    color: #0f0;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px #0f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #0f0;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #0f0;
    padding: 0.75rem 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #0f0;
    background: rgba(0, 255, 0, 0.08);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid #0f0;
    color: #0f0;
    padding: 0.85rem 2rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 10px #0f0, 0 0 20px #0f0, 0 0 30px #0f0;
        opacity: 1;
    }
    20%, 24%, 55% {
        text-shadow: none;
        opacity: 0.8;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
        letter-spacing: 0.2em;
    }
    
    .services-list {
        max-width: 100%;
    }
    
    .service-item {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .container {
        padding: 1rem;
    }

    .contact-section {
        max-width: 100%;
        padding: 1.5rem 0;
    }

    .contact-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
        letter-spacing: 0.15em;
    }
    
    .service-item {
        font-size: 0.9rem;
        padding: 0.85rem 1rem;
    }
    
    .service-prefix {
        font-size: 1.1rem;
        margin-right: 0.75rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.65rem 0.85rem;
    }

    .submit-btn {
        width: 100%;
        align-self: stretch;
    }
}
