.testeto-showcase-wrapper {
    max-width: 800px;
    margin: 40px auto;
    font-family: inherit;
    direction: ltr;
}

/* ==============================
   MODE 1: MAC TERMINAL (TESTETO STYLE)
   ============================== */
.t-mac-terminal {
    background: #111827 !important; /* قفل کردن بک‌گراند تاریک */
    border-radius: 12px;
    /* سایه مشکی عمیق + یک هاله خیلی ظریف زرد رنگ برای دیزاین سایتت */
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(255, 193, 7, 0.2);
    overflow: hidden;
    width: 100%;
}

.t-mac-header {
    background: #1f2937 !important;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.t-mac-buttons {
    display: flex;
    gap: 8px;
    width: 60px;
}

/* دکمه‌های کلاسیک مک */
.t-mac-btn {
    width: 12px; height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.t-close { background: #ff5f56; }
.t-min { background: #ffbd2e; }
.t-max { background: #27c93f; }

.t-mac-title {
    flex: 1;
    text-align: center;
    color: #9ca3af;
    font-family: monospace;
    font-size: 0.85rem;
    margin-right: 60px; /* بالانس کردن تیتر وسط */
}

.t-mac-body {
    background: #111827 !important;
    padding: 25px;
    min-height: 280px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e5e7eb;
}

/* استایل کدهای داخل ترمینال */
.t-cmd-line { margin-bottom: 8px; }
.t-prompt { color: #FFC107; font-weight: bold; margin-right: 12px; }
.t-cmd-text { color: #ffffff; }
.t-log { color: #6b7280; margin-left: 20px; }
.t-success { color: #10b981; font-weight: bold; margin-left: 20px; }
.t-highlight { color: #FFC107; text-shadow: 0 0 8px rgba(255, 193, 7, 0.3); }

/* کرسر زرد چشمک‌زن */
.t-cursor {
    display: inline-block;
    width: 8px; height: 18px;
    background: #FFC107;
    vertical-align: middle;
    animation: t-blink 1s step-end infinite;
}
@keyframes t-blink { 50% { opacity: 0; } }

/* ==============================
   MODE 2: PIPELINE
   ============================== */
.t-pipeline-box { background: #ffffff; border-radius: 16px; padding: 40px; border: 1px solid #e5e7eb; box-shadow: 0 10px 30px rgba(0,0,0,0.03); text-align: center; }
.t-pipe-nodes { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.t-node { display: flex; flex-direction: column; align-items: center; gap: 12px; z-index: 2; }
.t-node-icon { width: 60px; height: 60px; background: #f9fafb; border: 2px solid #e5e7eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #4b5563; transition: all 0.3s; }
.t-active-node .t-node-icon { border-color: #FFC107; background: #fffbeb; box-shadow: 0 0 20px rgba(255, 193, 7, 0.3); }
.t-node span { font-weight: 700; font-size: 0.85rem; color: #374151; }
.t-pipe-line { flex: 1; height: 3px; background: #e5e7eb; position: relative; overflow: hidden; margin: 0 -10px; margin-top: -30px; }
.t-pipe-glow { position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, #FFC107, transparent); animation: t-flow 2.5s infinite linear; }
@keyframes t-flow { 0% { left: -100%; } 100% { left: 200%; } }
.t-pipe-text { margin: 0; font-size: 1.2rem; font-weight: 800; color: #111827; }
@media (max-width: 600px) { .t-pipe-nodes { flex-direction: column; gap: 20px; } .t-pipe-line { width: 3px; height: 40px; margin: 0; } .t-pipe-glow { width: 100%; height: 50%; top: -100%; left: 0; background: linear-gradient(180deg, transparent, #FFC107, transparent); animation: t-flow-v 2.5s infinite linear; } @keyframes t-flow-v { 0% { top: -100%; } 100% { top: 200%; } } }