:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --primary-color: #00ff41; /* CRT Green */
    --secondary-color: #00b8ff;
    --rack-color: #1a1a1a;
    --led-red: #ff3333;
    --led-green: #00ff41;
}

body {
    margin: 0;
    font-family: 'Courier New', Courier, monospace; /* Terminal vibe */
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 10, 0.9);
    border-bottom: 1px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.highlight {
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

/* Hero Section with Server Racks */
#hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    position: relative;
}

.server-rack-visual {
    display: flex;
    gap: 20px;
}

.rack {
    width: 60px;
    height: 300px;
    background: var(--rack-color);
    border: 2px solid #333;
    display: flex;
    flex-direction: column;
    padding: 5px;
    gap: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.server-unit {
    height: 20px;
    background: #000;
    width: 100%;
    position: relative;
    border-radius: 2px;
}

.server-unit::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #333;
}

.server-unit.active::after {
    background: var(--led-green);
    box-shadow: 0 0 5px var(--led-green);
}

.server-unit.blink::after {
    animation: blink 0.5s infinite alternate;
    background: var(--led-green);
}

@keyframes blink {
    from { opacity: 1; }
    to { opacity: 0.2; }
}

.hero-content {
    max-width: 600px;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.neon-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.cta-button {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s;
}

.cta-button:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px var(--primary-color);
}

/* Services */
#services {
    padding: 100px 50px;
    background: rgba(20, 20, 20, 0.5);
}

h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Contact */
#contact {
    padding: 100px 50px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-container {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border: 1px solid #333;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.form-group {
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background: #000;
    border: 1px solid #333;
    color: var(--text-color);
    font-family: inherit;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 255, 65, 0.2);
}

button.submit-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s;
}

button.submit-btn:hover {
    background: var(--primary-color);
    color: #000;
}

footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #666;
}
