/* ── Sechat Showcase ────────────────────────────────────────────────────────── */

.sechat-showcase {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.07), rgba(0, 200, 83, 0.04));
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
    margin-top: 24px;
}

.sechat-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.1), transparent 70%);
    pointer-events: none;
}

.sechat-label {
    color: #00e676 !important;
}

.sechat-dot {
    background: #00e676 !important;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4);
}

.sechat-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #00e676);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.sechat-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    background: linear-gradient(135deg, #00897b, #00c853);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.sechat-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 230, 118, 0.3);
}

.sechat-btn i {
    font-size: 1.8rem;
}

.sechat-btn-github {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.sechat-btn-github:hover {
    background: rgba(0, 230, 118, 0.1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 230, 118, 0.2);
}

.modal-wordmark {
    height: 24px;
    width: auto;
}

@media (max-width: 768px) {
    .sechat-showcase {
        padding: 24px;
    }
}

/* ── Terminal Modal (LLM desde cero) ───────────────────────────────────────── */

.terminal-modal-content {
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: #e0e0e0;
    font-family: 'Courier New', Courier, monospace;
}

.terminal-header {
    background: #1a1a1a;
    border-bottom: 1px solid #2a2a2a;
    border-radius: 10px 10px 0 0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dot  { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-red       { background: #ff5f57; }
.dot-yellow    { background: #febc2e; }
.dot-green     { background: #28c840; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-left: -60px;
}

.terminal-body {
    background: #0d0d0d;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 420px;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 8px;
    font-size: 0.88rem;
    line-height: 1.6;
    scrollbar-width: thin;
    scrollbar-color: #333 #0d0d0d;
}
.terminal-output::-webkit-scrollbar       { width: 6px; }
.terminal-output::-webkit-scrollbar-track { background: #0d0d0d; }
.terminal-output::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.term-welcome { color: #555; margin-bottom: 8px; }
.term-accent  { color: #00e676; }
.term-dim     { color: #555;  margin: 4px 0;    padding-left: 14px; }

.term-user         { color: #00e676; margin: 6px 0 2px; }
.term-user::before { content: "❯ "; }

.term-bot      { color: #e0e0e0; margin: 2px 0 6px; padding-left: 14px; }
.term-error    { color: #ffc252; margin: 4px 0;    padding-left: 14px; }
.term-white    { color: #ffffff; margin: 4px 0;    padding-left: 14px; }
.term-disclaimer  { color: #ffc252; margin: 2px 0; padding-left: 0; display: block; }
.term-dim-block   { color: #555;    margin: 2px 0; padding-left: 0; display: block; }
.term-white-block { color: #e0e0e0; margin: 2px 0; padding-left: 0; display: block; }
.term-thinking { color: #555;   margin: 4px 0;    padding-left: 14px; font-style: italic; }

.terminal-input-wrapper {
    display: flex;
    align-items: center;
    padding: 8px 20px;
    border-top: 1px solid #1e1e1e;
    gap: 8px;
}

.term-prompt-icon { color: #00e676; font-size: 1rem; user-select: none; }

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #00e676;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.88rem;
    caret-color: #00e676;
}
.terminal-input::placeholder { color: #333; }

.terminal-send-btn {
    background: transparent;
    border: 1px solid #333;
    color: #555;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.terminal-send-btn:hover { border-color: #00e676; color: #00e676; }

.terminal-footer {
    background: #111;
    border-top: 1px solid #1e1e1e;
    border-radius: 0 0 10px 10px;
    padding: 6px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-clear-btn {
    background: transparent;
    border: 1px solid #2a2a2a;
    color: #555;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.terminal-clear-btn:hover { border-color: #ff5252; color: #ff5252; }
