/* terminal.css */
.terminal-section {
    background: var(--bg-surface);
}

.terminal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.terminal-copy h2 {
    margin-bottom: 16px;
}

.terminal-copy p {
    margin-bottom: 24px;
}

.terminal-commands {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 32px;
}

.terminal-cmd-item {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.terminal-cmd-item .cmd-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    flex-shrink: 0;
}

/* Terminal window */
.terminal-window {
    background: #0A0F1A;
    border: 1px solid rgba(59, 139, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), var(--glow-blue);
}

.terminal-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #0D1220;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-traffic {
    display: flex;
    gap: 6px;
}

.traffic-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.traffic-dot.red {
    background: #FF5F57;
}

.traffic-dot.amber {
    background: #FEBC2E;
}

.traffic-dot.green {
    background: #28C840;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
}

.terminal-body {
    padding: 20px 20px 24px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    line-height: 1.7;
    min-height: 200px;
    color: #C8D8FF;
    overflow: hidden;
}

.terminal-line {
    display: block;
}

.terminal-prompt {
    color: #3B8BFF;
}

.terminal-cmd {
    color: #E0E8FF;
}

.terminal-out {
    color: #8B9DC3;
}

.terminal-ok {
    color: #00E5A0;
}

.terminal-err {
    color: #FF4D6A;
}

.terminal-dim {
    color: #4A5A7A;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--accent-cyan);
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .terminal-layout {
        grid-template-columns: 1fr;
    }
}