/* blog.css — Páginas de contenido (API, Benchmarks, Precios, Roadmap, Blog).
   Reutiliza la línea gráfica de la landing (tema oscuro índigo/violeta). */

/* ── Prosa de artículo ── */
.article-prose { font-size: 1.05rem; line-height: 1.85; color: #cbd5e1; }
.article-prose p { margin-bottom: 1.3rem; }
.article-prose h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin: 2.6rem 0 1rem;
    letter-spacing: -0.01em;
}
.article-prose h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #e5e7eb;
    margin: 2rem 0 0.75rem;
}
.article-prose ul, .article-prose ol { margin: 0 0 1.3rem 1.4rem; }
.article-prose li { margin-bottom: 0.5rem; }
.article-prose ul li::marker { color: #818cf8; }
.article-prose ol li::marker { color: #a78bfa; font-weight: 600; }
.article-prose strong { color: #fff; font-weight: 600; }
.article-prose a { color: #a78bfa; text-decoration: none; }
.article-prose a:hover { text-decoration: underline; }
.article-prose blockquote {
    border-left: 3px solid #6366f1;
    background: rgba(99, 102, 241, 0.08);
    padding: 14px 20px;
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
    color: #e2e8f0;
    font-style: italic;
}
.article-prose code {
    background: rgba(99, 102, 241, 0.16);
    color: #c7d2fe;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.88em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.article-prose hr { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 2.5rem 0; }

/* ── Bloques de código ── */
.code-block {
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 18px 22px;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.65;
    color: #e2e8f0;
    margin: 1.2rem 0 1.8rem;
}
.code-block .t-cmt { color: #64748b; }
.code-block .t-key { color: #7dd3fc; }
.code-block .t-str { color: #86efac; }
.code-block .t-num { color: #fbbf24; }
.code-block .t-fn  { color: #c4b5fd; }

/* ── Componentes ── */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.pill-indigo { background: rgba(99,102,241,0.15); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.3); }
.pill-violet { background: rgba(168,85,247,0.15); color: #d8b4fe; border: 1px solid rgba(168,85,247,0.3); }
.pill-green  { background: rgba(52,211,153,0.12); color: #6ee7b7; border: 1px solid rgba(52,211,153,0.3); }
.pill-amber  { background: rgba(251,191,36,0.12); color: #fcd34d; border: 1px solid rgba(251,191,36,0.3); }
.pill-rose   { background: rgba(244,63,94,0.12); color: #fda4af; border: 1px solid rgba(244,63,94,0.3); }

.card-glass {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card-glass:hover {
    transform: translateY(-4px);
    border-color: rgba(129, 140, 248, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

.gradient-text {
    background: linear-gradient(135deg, #c7d2fe 0%, #818cf8 45%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* SVG de diagramas: responsive y con sombra suave */
.diagram { width: 100%; height: auto; }
.diagram .node { filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35)); }
.diagram .arrow { stroke: #6366f1; stroke-width: 2; fill: none; }
.diagram .arrow-head { fill: #6366f1; }

/* ── Manuales: tarjetas y detalle (look serio, sin emojis) ── */
.manual-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.manual-card:hover {
    transform: translateY(-3px);
    border-color: rgba(129, 140, 248, 0.35);
    background: rgba(255, 255, 255, 0.05);
}
.manual-card__tag {
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}
.manual-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0;
}
.manual-card__desc {
    font-size: 0.875rem;
    line-height: 1.65;
    color: #9ca3af;
    margin: 0;
    flex: 1;
}
.manual-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #a5b4fc;
    margin-top: 4px;
}
.manual-card__arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}
.manual-card:hover .manual-card__arrow {
    transform: translateX(4px);
}

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #818cf8;
    margin-bottom: 1.25rem;
}
