@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: var(--blue);
    text-decoration: none;
}

:root {
    --primary-green: #00ff41;
    --secondary-green: #008f11;
    --dark-green: #003b00;
    --bg-black: #0a0a0a;
    --light-gray: #333;
    --white: #ffffff;
    --red: #ff0000;
    --yellow: #ffff00;
    --blue: #0080ff;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: var(--bg-black);
    color: var(--primary-green);
    overflow-x: hidden;
    line-height: 1.6;
}

.scanlines::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 65, 0.03) 2px,
        rgba(0, 255, 65, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Terminal Header */
.terminal-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-black);
    border-bottom: 1px solid var(--primary-green);
    padding: 10px 20px;
    z-index: 100;
    font-size: 14px;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.close { background: var(--red); }
.minimize { background: var(--yellow); }
.maximize { background: var(--primary-green); }

.terminal-title {
    color: var(--primary-green);
    font-weight: 500;
}

.terminal-time {
    margin-left: auto;
    color: var(--secondary-green);
}

/* Main Content */
.main-content {
    margin-top: 60px;
    min-height: 100vh;
    padding: 40px 0;
}

/* Boot Sequence */
.boot-sequence {
    margin-bottom: 40px;
    font-size: 12px;
    color: var(--secondary-green);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.boot-line {
    margin-bottom: 5px;
    opacity: 0;
    animation: typewriter 0.8s ease forwards;
}

.boot-line:nth-child(1) { animation-delay: 0.2s; }
.boot-line:nth-child(2) { animation-delay: 0.6s; }
.boot-line:nth-child(3) { animation-delay: 1.0s; }
.boot-line:nth-child(4) { animation-delay: 1.4s; }

@keyframes typewriter {
    from { 
        opacity: 0; 
        width: 0;
    }
    to { 
        opacity: 1; 
        width: 100%;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Command Prompt */
.prompt-section {
    margin: 60px 0;
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
}

.command-line {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.prompt {
    color: var(--primary-green);
    margin-right: 10px;
    font-weight: 600;
}

.command {
    color: var(--white);
}

.cursor {
    display: inline-block;
    background: var(--primary-green);
    width: 12px;
    height: 20px;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Hero Section */
.hero {
    margin: 80px 0;
    opacity: 0;
    animation: fadeIn 1s ease 3.5s forwards;
}

.ascii-art {
    font-size: clamp(8px, 1.5vw, 14px);
    line-height: 1;
    color: var(--primary-green);
    margin-bottom: 40px;
    white-space: pre;
    text-align: center;
    font-weight: 400;
}

.hero-text {
    text-align: center;
    margin-bottom: 60px;
}

.hero-title {
    font-size: clamp(24px, 5vw, 48px);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: clamp(14px, 2.5vw, 18px);
    color: var(--secondary-green);
    margin-bottom: 40px;
}

/* Commands Section */
.commands-section {
    margin: 80px 0;
    opacity: 0;
    animation: fadeIn 1s ease 4.5s forwards; 
}
.section-title {
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 40px;
    text-align: center;
}

.section-title::before {
    content: '$ ';
    color: var(--primary-green);
}

.command-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.command-item {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--dark-green);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.command-item:hover {
    border-color: var(--primary-green);
    background: rgba(0, 255, 65, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
}

.command-name {
    font-size: 18px;
    color: var(--primary-green);
    margin-bottom: 10px;
    font-weight: 600;
}

.command-desc {
    font-size: 14px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.6;
}

.command-syntax {
    font-size: 12px;
    color: var(--secondary-green);
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    border-left: 3px solid var(--primary-green);
}

.command-output {
    margin-top: 15px;
    font-size: 12px;
    color: var(--blue);
}

/* Terminal Window for Contact */
.contact-terminal {
    margin: 80px 0;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    padding: 0;
    max-width: 800px;
    margin: 80px auto;
    opacity: 0;
    animation: fadeIn 1s ease 5.5s forwards;
}


.terminal-window-header {
    background: var(--dark-green);
    padding: 15px 20px;
    border-bottom: 1px solid var(--primary-green);
    display: flex;
    align-items: center;
    gap: 15px;
}

.terminal-window-controls {
    display: flex;
    gap: 8px;
}

.terminal-window-title {
    color: var(--primary-green);
    font-size: 14px;
}

.terminal-content {
    padding: 30px;
}

.contact-command {
    margin-bottom: 20px;
}

.contact-output {
    margin-bottom: 15px;
}

.contact-field {
    display: flex;
    margin-bottom: 10px;
}

.field-name {
    color: var(--yellow);
    width: 120px;
    text-align: right;
    margin-right: 15px;
}

.field-value {
    color: var(--white);
}

.status-line {
    color: var(--blue);
    margin-top: 20px;
    font-size: 12px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--dark-green);
    color: var(--secondary-green);
    font-size: 12px;
    opacity: 0;
    animation: fadeIn 1s ease 6.5s forwards;
}

.footer-command {
    margin-bottom: 10px;
}

/* Interactive Elements */
.interactive {
    cursor: pointer;
    transition: color 0.3s ease;
}

.interactive:hover {
    color: var(--white);
}

/* Matrix Effect Background */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

/* Responsive */
@media (max-width: 768px) {
    .terminal-header {
        padding: 8px 15px;
        font-size: 12px;
    }

    .main-content {
        margin-top: 50px;
        padding: 20px 0;
    }

    .command-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .command-item {
        padding: 20px;
    }

    .contact-terminal {
        margin: 40px 10px;
    }

    .terminal-content {
        padding: 20px;
    }

    .field-name {
        width: 80px;
        font-size: 12px;
    }

    .ascii-art {
        font-size: 8px;
    }
}

/* Exit prompt */
.exit-prompt {
    text-align: center;
    padding: 30px 0;
    font-family: 'JetBrains Mono', monospace;
}

.exit-command {
    color: var(--secondary-green);
    font-size: 14px;
    margin-bottom: 5px;
}

.exit-command-line{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;

}

.exit-input {
    color: var(--white);
    font-size: 14px;
}

.exit-cursor {
    display: inline-block;
    background: var(--primary-green);
    width: 8px;
    height: 16px;
    margin-left: 3px;
    animation: blink 1s infinite;
}

.exit-hint {
    color: var(--dark-green);
    font-size: 11px;
    margin-top: 10px;
}