:root {
    --primary-blue: #00d9ff;
    --secondary-blue: #0088ff;
    --dark-blue: #001a33;
    --darker-blue: #000d1a;
    --glow-blue: #00ffff;
    --text-color: #a0d9ff;
    --background: #000;
    --terminal-bg: rgba(0, 13, 26, 0.95);
    --border-glow: rgba(0, 217, 255, 0.5);
}

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

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

/* Animated grid background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(0, 217, 255, 0.05) 25%, rgba(0, 217, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 217, 255, 0.05) 75%, rgba(0, 217, 255, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(0, 217, 255, 0.05) 25%, rgba(0, 217, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 217, 255, 0.05) 75%, rgba(0, 217, 255, 0.05) 76%, transparent 77%, transparent);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

.terminal-container {
    max-width: 1200px;
    margin: 40px auto;
    background: var(--terminal-bg);
    border-radius: 8px;
    box-shadow: 
        0 0 60px rgba(0, 217, 255, 0.3),
        0 0 120px rgba(0, 136, 255, 0.2),
        inset 0 0 80px rgba(0, 217, 255, 0.05);
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.terminal-header {
    background: linear-gradient(135deg, var(--dark-blue), var(--darker-blue));
    padding: 12px 20px;
    border-bottom: 2px solid var(--primary-blue);
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 10px rgba(0, 217, 255, 0.3);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 217, 255, 0.3);
    position: relative;
}

.btn.close {
    background: linear-gradient(135deg, #ff006e, #ff4d94);
    box-shadow: 0 0 8px rgba(255, 0, 110, 0.5);
}

.btn.minimize {
    background: linear-gradient(135deg, #ffbe0b, #ffd60a);
    box-shadow: 0 0 8px rgba(255, 190, 11, 0.5);
}

.btn.maximize {
    background: linear-gradient(135deg, #00ff88, #00ffcc);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.5);
}

.terminal-title {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.8);
    letter-spacing: 1px;
}

.terminal-body {
    padding: 30px;
    min-height: 600px;
}

.terminal-output {
    font-size: 14px;
}

.line {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt {
    color: var(--glow-blue);
    font-weight: bold;
    text-shadow: 0 0 10px var(--glow-blue);
}

.command {
    color: var(--primary-blue);
}

.typed {
    animation: typeWriter 1s steps(20) 0.5s both;
}

@keyframes typeWriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.content {
    margin-top: 20px;
    padding-left: 10px;
}

.ascii-art {
    color: var(--glow-blue);
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--glow-blue);
    font-weight: bold;
}

.tagline {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
}

.glow {
    text-shadow: 
        0 0 10px var(--glow-blue),
        0 0 20px var(--glow-blue),
        0 0 30px var(--primary-blue);
    animation: pulse 3s ease-in-out infinite;
}

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

.intro {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.section-title {
    color: var(--glow-blue);
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0 15px;
    text-shadow: 0 0 10px var(--glow-blue);
    letter-spacing: 2px;
    padding-left: 0;
}

.quick-start {
    margin-bottom: 40px;
}

.code-block {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid var(--primary-blue);
    border-left: 4px solid var(--glow-blue);
    padding: 20px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--text-color);
    line-height: 2;
    box-shadow: inset 0 0 20px rgba(0, 217, 255, 0.1);
}

.features {
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 15px;
    padding-left: 10px;
    color: var(--text-color);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon {
    color: var(--glow-blue);
    font-weight: bold;
    text-shadow: 0 0 5px var(--glow-blue);
}

.feature-list strong {
    color: var(--primary-blue);
    text-shadow: 0 0 5px var(--primary-blue);
}

.navigation {
    margin-bottom: 40px;
}

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

.nav-item {
    background: rgba(0, 217, 255, 0.03);
    border: 1px solid var(--primary-blue);
    padding: 20px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    border-color: var(--glow-blue);
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.3),
        inset 0 0 20px rgba(0, 217, 255, 0.1);
    transform: translateX(5px);
}

.nav-icon {
    color: var(--glow-blue);
    font-size: 20px;
    text-shadow: 0 0 10px var(--glow-blue);
}

.nav-content {
    flex: 1;
}

.nav-title {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    text-shadow: 0 0 5px var(--primary-blue);
}

.nav-desc {
    color: var(--text-color);
    font-size: 13px;
    opacity: 0.8;
}

.used-by {
    margin-bottom: 40px;
}

.company-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.company-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 26, 51, 0.3);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.company-item:hover {
    background: rgba(0, 26, 51, 0.6);
    border-color: var(--glow-blue);
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.3),
        inset 0 0 20px rgba(0, 217, 255, 0.1);
    transform: translateX(5px);
}

.company-icon {
    color: var(--glow-blue);
    font-size: 20px;
    text-shadow: 0 0 10px var(--glow-blue);
}

.company-content {
    flex: 1;
}

.company-name {
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px;
    text-shadow: 0 0 5px var(--primary-blue);
}

.company-desc {
    color: var(--text-color);
    font-size: 13px;
    opacity: 0.8;
}

.links {
    margin-bottom: 40px;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-item {
    color: var(--primary-blue);
    text-decoration: none;
    padding: 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.link-item:hover {
    padding-left: 20px;
    text-shadow: 0 0 10px var(--glow-blue);
}

.link-icon {
    color: var(--glow-blue);
    text-shadow: 0 0 5px var(--glow-blue);
}

.cursor-line {
    margin-top: 30px;
}

.cursor {
    color: var(--glow-blue);
    animation: blink 1s step-end infinite;
    text-shadow: 0 0 10px var(--glow-blue);
}

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

/* Responsive design */
@media (max-width: 768px) {
    .terminal-container {
        margin: 20px;
    }
    
    .terminal-body {
        padding: 20px;
    }
    
    .nav-grid {
        grid-template-columns: 1fr;
    }
    
    .ascii-art {
        font-size: 10px;
    }
    
    .tagline {
        font-size: 16px;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-blue);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
    box-shadow: 0 0 10px var(--glow-blue);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--glow-blue);
}
