@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: #0a0e27;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.terminal-container {
    max-width: 1000px;
    width: 100%;
    background: #1a1f3a;
    border-radius: 12px;
    box-shadow: 
        0 0 0 1px rgba(139, 92, 246, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(139, 92, 246, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.terminal-header {
    background: #0f1329;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

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

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.btn-close {
    background: #ff5f57;
    box-shadow: 0 0 10px rgba(255, 95, 87, 0.3);
}

.btn-minimize {
    background: #ffbd2e;
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.3);
}

.btn-maximize {
    background: #28ca42;
    box-shadow: 0 0 10px rgba(40, 202, 66, 0.3);
}

.terminal-title {
    color: #8b5cf6;
    font-size: 0.9rem;
    font-weight: 500;
}

.terminal-body {
    padding: 30px;
    background: #1a1f3a;
}

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

.prompt {
    color: #22c55e;
    font-weight: 700;
    font-size: 1.1rem;
}

.command {
    color: #60a5fa;
    font-weight: 500;
}

.output h1 {
    color: #8b5cf6;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.description {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.input-section {
    margin-bottom: 40px;
}

#website-url {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    background: #0f1329;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 6px;
    color: #e0e0e0;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

#website-url:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: #0a0e27;
}

#website-url::placeholder {
    color: #475569;
}

.terminal-button {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0a0e27;
    background: #8b5cf6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

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

.terminal-button:hover::before {
    left: 100%;
}

.terminal-button:hover {
    background: #7c3aed;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.button-prompt {
    color: #22c55e;
    margin-right: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.stat-box {
    background: #0f1329;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.stat-label {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.stat-value {
    color: #8b5cf6;
    font-size: 1.8rem;
    font-weight: 700;
}

.tech-stack {
    background: #0f1329;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stack-line {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.stack-line:last-child {
    margin-bottom: 0;
}

.key {
    color: #f59e0b;
    font-weight: 600;
    min-width: 100px;
}

.value {
    color: #94a3b8;
    flex: 1;
}

@media (max-width: 768px) {
    .terminal-body {
        padding: 20px;
    }
    
    .output h1 {
        font-size: 1.5rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stack-line {
        flex-direction: column;
        gap: 5px;
    }
    
    .key {
        min-width: auto;
    }
}