/* ==========================================================================
   VilaTec 2.0 — CSS de Integración de LLMs
   Estilo Premium con Ingesta Semántica Interactiva y Telemetría Ciberpunk
   ========================================================================== */

/* --- Contenedor General --- */
#ia-llm-page {
    background-color: #05070a;
    color: #f3f4f6;
    overflow-x: hidden;
}

/* --- Hero Section --- */
.llm-hero {
    position: relative;
    padding: 11rem 0 8rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.llm-hero__bg-image {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 60%;
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to left, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 30%, transparent 100%);
    z-index: 0;
    opacity: 0.28;
    filter: saturate(0.85) contrast(1.1);
}

.llm-hero__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, #05070a 5%, transparent 60%, #05070a 95%);
    z-index: 1;
    pointer-events: none;
}

.llm-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #60a5fa;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.llm-hero__title {
    font-size: clamp(2.3rem, 4.5vw, 4.2rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.llm-hero__highlight {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.llm-hero__desc {
    max-width: 34rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.llm-hero__ctas {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

/* --- HUD de Especificaciones en Hero --- */
.llm-hero__tech-specs {
    margin-top: 4.5rem;
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #6b7280;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.llm-hero__tech-specs div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.llm-hero__tech-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #3b82f6;
    box-shadow: 0 0 8px #3b82f6;
}

/* --- ─── SECCIÓN: PIPELINE DE INGESTA SEMÁNTICA ──────────────── --- */
.pipeline-section {
    position: relative;
    padding: 8rem 0;
    background-color: #020406; /* Alternamos fondo */
    border-bottom: 1px solid rgba(255, 255, 255, 0.01);
}

.pipeline-container {
    background: rgba(13, 17, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 3.5rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pipeline-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* Controles de Ingesta */
.pipeline-controls {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.75rem;
}

.pipeline-controls__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.pipeline-controls__header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.pipeline-controls__desc {
    color: #9ca3af;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.pipeline-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pipeline-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    color: #e5e7eb;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.pipeline-btn span.material-symbols-outlined {
    font-size: 1.15rem;
    color: #6b7280;
    transition: color 0.3s ease;
}

.pipeline-btn:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.pipeline-btn:hover:not(:disabled) span.material-symbols-outlined {
    color: #60a5fa;
}

.pipeline-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Status y métricas de pipeline */
.pipeline-status {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.pipeline-status__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.status-badge {
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
}

.status-badge--idle { background: rgba(255,255,255,0.05); color:#9ca3af; }
.status-badge--active { background: rgba(245,158,11,0.1); color:#f59e0b; animation: pulse-opacity 1.5s infinite; }
.status-badge--success { background: rgba(16,185,129,0.1); color:#10b981; }

.pipeline-status__progress-container {
    height: 4px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.pipeline-status__bar {
    height: 100%;
    background: linear-gradient(to right, #3b82f6, #00f0ff);
    transition: width 0.3s ease;
}

.pipeline-status__metrics {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #6b7280;
}

.pipeline-status__metrics span {
    color: #e5e7eb;
}

/* Diagrama SVG */
.pipeline-diagram {
    position: relative;
    background: rgba(255, 255, 255, 0.005);
    border: 1px solid rgba(255, 255, 255, 0.01);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    min-height: 260px;
    overflow: hidden;
}

.pipeline-svg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.pipe-path {
    stroke: rgba(255, 255, 255, 0.03);
    stroke-width: 2px;
    fill: none;
}

.pipe-pulse {
    stroke: url(#glow-grad);
    stroke-width: 3px;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 12, 120;
    animation: flow-pulse 2.2s linear infinite;
}

/* Nodos */
.pipeline-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.node-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #9ca3af;
    transition: all 0.4s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}

.node-icon span.material-symbols-outlined {
    font-size: 1.3rem;
}

.node-label {
    margin-top: 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    transition: all 0.4s ease;
}

/* Estados de Nodos */
.node-active .node-icon {
    border-color: #3b82f6;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.node-active .node-label {
    color: #e5e7eb;
}

#node-vectordb.node-active .node-icon {
    border-color: #00f0ff;
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

/* Consola de Telemetría */
.pipeline-console {
    background: rgba(5, 7, 10, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 260px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.pipeline-console__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.console-actions {
    display: flex;
    gap: 0.35rem;
}

.action-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.action-dot--red { background-color: #ef4444; }
.action-dot--yellow { background-color: #f59e0b; }
.action-dot--green { background-color: #10b981; }

.console-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #4b5563;
    letter-spacing: 0.1em;
}

.pipeline-console__body {
    flex-grow: 1;
    padding: 1.25rem;
    overflow-y: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    line-height: 1.65;
    height: 0; /* Permite que el flex-grow controle el alto disponible sin desbordar */
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.25) rgba(0, 0, 0, 0.2);
}

/* Scrollbar futurista y minimalista para navegadores Webkit */
.pipeline-console__body::-webkit-scrollbar {
    width: 6px;
}
.pipeline-console__body::-webkit-scrollbar-track {
    background: rgba(5, 7, 10, 0.5);
    border-radius: 0 0 12px 0;
}
.pipeline-console__body::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.25);
    border-radius: 100px;
    border: 1px solid rgba(5, 7, 10, 0.2);
}
.pipeline-console__body::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

.console-line {
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.text-accent { color: #60a5fa; }
.text-success { color: #10b981; }
.text-muted { color: #4b5563; }


/* --- ─── SECCIÓN: ARQUITECTURA DE DECISIÓN (BENTO GRID) ─── --- */
.bento-section {
    padding: 8rem 0;
    background: #05070a;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.bento-card {
    background: rgba(13, 17, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: default; /* El cursor se queda en flecha por defecto ya que no es un enlace clickable */
}

.bento-card:hover {
    border-color: rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bento-card--wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.bento-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.bento-card__header span.material-symbols-outlined {
    font-size: 1.5rem;
}

.bento-card__header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.bento-card__desc {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Visor de Código */
.bento-code {
    background: #020406;
    border: 1px solid rgba(255,255,255,0.02);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.bento-code__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #4b5563;
    letter-spacing: 0.05em;
}

.bento-code__lang {
    color: #60a5fa;
    font-weight: 700;
}

.bento-code__body {
    padding: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    line-height: 1.6;
    color: #9ca3af;
    overflow-x: auto;
}

.code-kw { color: #f43f5e; }
.code-str { color: #10b981; }
.code-num { color: #f59e0b; }
.code-comment { color: #4b5563; font-style: italic; }

/* Tags de Modelos */
.bento-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.bento-tag {
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: #e5e7eb;
}

.bento-tag--llama { border-color: rgba(59, 130, 246, 0.25); color: #60a5fa; }
.bento-tag--mistral { border-color: rgba(245, 158, 11, 0.25); color: #f59e0b; }
.bento-tag--gemma { border-color: rgba(16, 185, 129, 0.25); color: #10b981; }
.bento-tag--deepseek { border-color: rgba(139, 92, 246, 0.25); color: #a78bfa; }
.bento-tag--qwen { border-color: rgba(236, 72, 153, 0.25); color: #f472b6; }

/* Telemetría de Latencia */
.bento-telemetry {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #6b7280;
}

.bento-telemetry__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bento-telemetry__progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
    overflow: hidden;
}

.bento-telemetry__bar {
    height: 100%;
}

.bento-telemetry__bar--cyan {
    background: #00f0ff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}


/* --- ─── SECCIÓN: SIMULADOR DE INFERENCIA DE VILATEC ─── --- */
.sim-section {
    padding: 8rem 0;
    background-color: #020406; /* Alternamos fondo */
    border-top: 1px solid rgba(255, 255, 255, 0.01);
    border-bottom: 1px solid rgba(255, 255, 255, 0.01);
}

.sim-terminal {
    max-width: 720px;
    margin: 3.5rem auto 0;
    background: #05070a;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.sim-terminal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.015);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.terminal-dots {
    display: flex;
    gap: 0.45rem;
}

.terminal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.terminal-dot--red { background-color: #ef4444; }
.terminal-dot--yellow { background-color: #f59e0b; }
.terminal-dot--green { background-color: #10b981; }

.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #4b5563;
    letter-spacing: 0.05em;
}

.sim-terminal__body {
    padding: 1.5rem;
    background: #020406;
    min-height: 250px;
}

.terminal-scroll {
    max-height: 260px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.6;
    color: #9ca3af;
}

.terminal-line {
    word-break: break-word;
}

.text-accent { color: #60a5fa; }
.text-cyan { color: #00f0ff; }
.text-success { color: #10b981; }
.text-highlight { color: #f59e0b; }

.terminal-prompt-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#terminal-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e5e7eb;
    font-family: inherit;
    font-size: inherit;
    padding: 0;
}

#terminal-input::placeholder {
    color: #374151;
}

/* Plantillas de Preguntas */
.sim-templates {
    display: flex;
    gap: 0.65rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.005);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.sim-temp-btn {
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sim-temp-btn:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

/* Acciones */
.sim-action-container {
    padding: 1rem 1.5rem 2rem;
    display: flex;
    justify-content: center;
}

.sim-action-container .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Métricas del simulador */
.sim-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(255, 255, 255, 0.005);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.sim-metric-card {
    padding: 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.02);
}

.sim-metric-card:last-child {
    border-right: none;
}

.sim-metric-card__title {
    font-size: 0.65rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.sim-metric-card__val {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.sim-metric-card__desc {
    font-size: 0.65rem;
}

.pulse-text {
    animation: pulse-brightness 1s infinite alternate;
}


/* --- ─── SECCIÓN: CTA FINAL ──────────────────────────────── */
.llm-cta {
    padding: 8rem 0;
    background: #05070a;
}

.llm-cta__card {
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.8) 0%, rgba(59, 130, 246, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.llm-cta__card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.llm-cta__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.llm-cta__actions {
    display: flex;
    justify-content: flex-end;
}

.btn--flex {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}


/* ==========================================================================
   ANIMACIONES KEYFRAMES
   ========================================================================== */
@keyframes flow-pulse {
    0% {
        stroke-dashoffset: 132;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes pulse-opacity {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes pulse-brightness {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.7) drop-shadow(0 0 4px currentColor); }
}


/* ==========================================================================
   DISEÑO RESPONSIVO (MÓVIL / TABLETAS)
   ========================================================================== */

/* Pantallas grandes y portátiles medianos */
@media (max-width: 1200px) {
    .pipeline-grid {
        grid-template-columns: 1.2fr 1fr;
    }
    .pipeline-console {
        grid-column: span 2;
        min-height: 180px;
    }
}

/* Tabletas y pantallas medianas */
@media (max-width: 992px) {
    .llm-hero {
        padding: 9rem 0 5rem;
    }
    
    .llm-hero__bg-image {
        width: 100%;
        opacity: 0.15;
    }

    .pipeline-grid {
        grid-template-columns: 1fr;
    }
    .pipeline-console {
        grid-column: span 1;
    }
    .pipeline-diagram {
        min-height: 200px;
        padding: 0 1rem;
    }
    .pipeline-node {
        width: 75px;
    }
    .node-icon {
        width: 40px;
        height: 40px;
    }
    .node-label {
        font-size: 0.6rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card--wide {
        grid-column: span 1;
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .llm-cta__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .llm-cta__actions {
        justify-content: center;
    }
}

/* Móviles en vertical (Diseño ultra responsivo) */
@media (max-width: 576px) {
    .llm-hero__badge {
        font-size: 0.7rem;
        padding: 0.40rem 0.85rem;
    }

    .llm-hero__title {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .llm-hero__ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .llm-hero__ctas .btn {
        text-align: center;
        justify-content: center;
    }

    .llm-hero__tech-specs {
        flex-direction: column;
        gap: 1rem;
    }

    .pipeline-container {
        padding: 1.25rem;
    }
    
    .pipeline-controls {
        padding: 1.25rem;
    }

    .pipeline-diagram {
        flex-direction: column;
        gap: 1.5rem;
        min-height: auto;
        padding: 2rem 1rem;
    }

    .pipe-path, .pipe-pulse {
        display: none !important; /* En móviles muy pequeños, ocultamos cables SVG y hacemos nodos en vertical */
    }

    .pipeline-node {
        width: 100%;
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
    }

    .node-icon {
        flex-shrink: 0;
    }

    .node-label {
        margin-top: 0;
        text-align: left;
        font-size: 0.65rem;
    }

    .bento-card {
        padding: 1.75rem;
    }

    .sim-terminal__body {
        padding: 1rem;
    }

    .sim-metrics {
        grid-template-columns: 1fr;
    }

    .sim-metric-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    }
    .sim-metric-card:last-child {
        border-bottom: none;
    }

    .llm-cta__card {
        padding: 2rem;
    }
}

/* Optimización para pantallas ultra pequeñas (< 480px) */
@media (max-width: 480px) {
    .btn {
        font-size: 0.8rem !important;
        padding: 0.75rem 1.25rem !important;
        letter-spacing: 0.02em;
        white-space: normal !important;
        text-align: center;
    }
    .btn .material-symbols-outlined {
        font-size: 1rem !important;
    }
    .llm-cta__card {
        padding: 1.5rem 1rem;
    }
    .sim-terminal__header {
        padding: 0.65rem 0.85rem;
    }
    .sim-terminal__body {
        padding: 0.85rem;
    }
    .sim-metrics {
        gap: 0.5rem;
    }
    .sim-metric-card {
        padding: 1rem 0.5rem;
    }
}

