/**
 * Nexora - Automação de Processos & Integração Empresarial Stylesheet
 * public/assets/css/automacao-codigo.css
 * 
 * Design System Executivo focado em Resolução de Gargalos Operacionais e Negócios B2B
 * Suporte completo a Dark Mode (#080F12 / #0D1F26) e Light Mode (#F8FAFC / #FFFFFF)
 */

/* ==========================================================================
   1. VARIÁVEIS & ESTRUTURA GERAL
   ========================================================================== */
.nx-auto-page {
    background-color: var(--bg, #080F12);
    color: var(--text-primary, #FFFFFF);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

[data-theme="light"] .nx-auto-page {
    background-color: #F8FAFC;
    color: #090D16;
}

.nx-auto-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.nx-auto-hero {
    padding: 8rem 0 4.5rem;
    position: relative;
    text-align: center;
    background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
}

[data-theme="light"] .nx-auto-hero {
    background: radial-gradient(ellipse 90% 60% at 50% -5%, #F3E8FF 0%, #FFFFFF 85%);
}

.nx-auto-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #A78BFA;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

[data-theme="light"] .nx-auto-hero__badge {
    background: #EDE9FE;
    border-color: #DDD6FE;
    color: #6D28D9;
}

.nx-auto-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8B5CF6;
    box-shadow: 0 0 10px #8B5CF6;
    display: inline-block;
}

[data-theme="light"] .nx-auto-pulse-dot {
    background: #7C3AED;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.6);
}

.nx-auto-hero__title {
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.18;
    max-width: 1020px;
    margin: 0 auto 1.5rem;
    color: var(--text-primary, #FFFFFF);
    text-wrap: balance;
}

[data-theme="light"] .nx-auto-hero__title {
    color: #090D16;
}

.nx-auto-hero__title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #A78BFA;
}

[data-theme="light"] .nx-auto-hero__title em {
    color: #6D28D9;
}

.nx-auto-hero__desc {
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    color: #94A3B8;
    max-width: 820px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

[data-theme="light"] .nx-auto-hero__desc {
    color: #475569;
}

.nx-auto-hero__ctas {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

/* Botões do Design System */
.nx-auto-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.9rem 1.85rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.nx-auto-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(139, 92, 246, 0.5);
    color: #FFFFFF !important;
}

[data-theme="light"] .nx-auto-btn-primary {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    box-shadow: 0 10px 25px rgba(109, 40, 217, 0.28);
}

.nx-auto-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(255, 255, 255, 0.04);
    color: #E2E8F0 !important;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.9rem 1.85rem;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
}

.nx-auto-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

[data-theme="light"] .nx-auto-btn-secondary {
    background: #FFFFFF;
    color: #0F172A !important;
    border: 1px solid #CBD5E1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nx-auto-btn-secondary:hover {
    background: #F8FAFC;
    border-color: #6D28D9;
}

/* Micro Métricas do Hero */
.nx-auto-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}

.nx-auto-metric-card {
    background: rgba(13, 31, 38, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 1.35rem 1.6rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.nx-auto-metric-card:hover {
    border-color: rgba(139, 92, 246, 0.45);
    transform: translateY(-2px);
}

[data-theme="light"] .nx-auto-metric-card {
    background: #FFFFFF;
    border-color: #E2E8F0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nx-auto-metric-card:hover {
    border-color: #DDD6FE;
    box-shadow: 0 6px 18px rgba(109, 40, 217, 0.08);
}

.nx-auto-metric-card__val {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.65rem;
    font-weight: 800;
    color: #A78BFA;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

[data-theme="light"] .nx-auto-metric-card__val {
    color: #6D28D9;
}

.nx-auto-metric-card__lbl {
    font-size: 0.88rem;
    color: #94A3B8;
    line-height: 1.45;
}

[data-theme="light"] .nx-auto-metric-card__lbl {
    color: #64748B;
}

/* ==========================================================================
   3. SEÇÕES GERAIS E CABEÇALHOS
   ========================================================================== */
.nx-auto-section {
    padding: 5.5rem 0;
    position: relative;
}

.nx-auto-section--alt {
    background: rgba(13, 31, 38, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .nx-auto-section--alt {
    background: #F1F5F9;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.nx-auto-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 3.5rem;
}

.nx-auto-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #A78BFA;
    margin-bottom: 0.75rem;
}

[data-theme="light"] .nx-auto-eyebrow {
    color: #6D28D9;
}

.nx-auto-title {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.22;
    margin-bottom: 1.1rem;
    color: var(--text-primary, #FFFFFF);
}

[data-theme="light"] .nx-auto-title {
    color: #090D16;
}

.nx-auto-title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #A78BFA;
}

[data-theme="light"] .nx-auto-title em {
    color: #6D28D9;
}

.nx-auto-subtitle {
    font-size: 1.05rem;
    color: #94A3B8;
    line-height: 1.65;
}

[data-theme="light"] .nx-auto-subtitle {
    color: #64748B;
}

/* ==========================================================================
   4. GARGALOS E PROBLEMAS QUE RESOLVEMOS
   ========================================================================== */
.nx-auto-problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

@media (max-width: 860px) {
    .nx-auto-problems-grid {
        grid-template-columns: 1fr;
    }
}

.nx-auto-problem-card {
    background: rgba(13, 31, 38, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.25rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nx-auto-problem-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
}

[data-theme="light"] .nx-auto-problem-card {
    background: #FFFFFF;
    border-color: #E2E8F0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nx-auto-problem-card:hover {
    border-color: #DDD6FE;
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.08);
}

.nx-auto-problem-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.nx-auto-problem-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #F87171;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

[data-theme="light"] .nx-auto-problem-icon {
    background: #FEE2E2;
    border-color: #FECACA;
    color: #DC2626;
}

.nx-auto-problem-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #EF4444;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

[data-theme="light"] .nx-auto-problem-badge {
    color: #B91C1C;
}

.nx-auto-problem-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

[data-theme="light"] .nx-auto-problem-title {
    color: #0F172A;
}

.nx-auto-problem-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.nx-auto-box-scenario {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid #EF4444;
    padding: 0.85rem 1.1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: #CBD5E1;
    line-height: 1.55;
}

[data-theme="light"] .nx-auto-box-scenario {
    background: #FFF1F2;
    border-left-color: #E11D48;
    color: #475569;
}

.nx-auto-box-solution {
    background: rgba(16, 185, 129, 0.06);
    border-left: 3px solid #10B981;
    padding: 0.85rem 1.1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: #CBD5E1;
    line-height: 1.55;
}

[data-theme="light"] .nx-auto-box-solution {
    background: #ECFDF5;
    border-left-color: #059669;
    color: #334155;
}

.nx-auto-box-label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nx-auto-box-scenario .nx-auto-box-label { color: #F87171; }
[data-theme="light"] .nx-auto-box-scenario .nx-auto-box-label { color: #BE123C; }

.nx-auto-box-solution .nx-auto-box-label { color: #34D399; }
[data-theme="light"] .nx-auto-box-solution .nx-auto-box-label { color: #047857; }

/* ==========================================================================
   5. VISUALIZADOR INTERATIVO DE ESTEIRAS OPERACIONAIS (WORKFLOW VIEWER)
   ========================================================================== */
.nx-auto-workflow-viewer {
    background: #0B1116;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .nx-auto-workflow-viewer {
    background: #FFFFFF;
    border-color: #CBD5E1;
    box-shadow: 0 20px 50px rgba(109, 40, 217, 0.08);
}

.nx-auto-workflow-tabs {
    display: flex;
    background: #080D11;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    scrollbar-width: thin;
}

[data-theme="light"] .nx-auto-workflow-tabs {
    background: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}

.nx-auto-wf-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1.15rem 1.65rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #94A3B8;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.nx-auto-wf-tab-btn:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="light"] .nx-auto-wf-tab-btn {
    color: #64748B;
}

[data-theme="light"] .nx-auto-wf-tab-btn:hover {
    color: #090D16;
    background: #F1F5F9;
}

.nx-auto-wf-tab-btn.active {
    color: #A78BFA;
    border-bottom-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.08);
}

[data-theme="light"] .nx-auto-wf-tab-btn.active {
    color: #6D28D9;
    border-bottom-color: #6D28D9;
    background: #EDE9FE;
}

.nx-auto-workflow-body {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    min-height: 520px;
}

@media (max-width: 980px) {
    .nx-auto-workflow-body {
        grid-template-columns: 1fr;
    }
}

/* Painel Esquerdo: A Esteira de Passos */
.nx-auto-pipeline-pane {
    padding: 2.25rem;
    background: #080D11;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

[data-theme="light"] .nx-auto-pipeline-pane {
    background: #FAF5FF;
    border-right: 1px solid #E2E8F0;
}

.nx-auto-steps-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.nx-auto-step-card {
    background: rgba(13, 31, 38, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    transition: all 0.3s ease;
}

.nx-auto-step-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.1);
}

[data-theme="light"] .nx-auto-step-card {
    background: #FFFFFF;
    border-color: #DDD6FE;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.04);
}

[data-theme="light"] .nx-auto-step-card:hover {
    border-color: #8B5CF6;
    background: #FFFFFF;
}

.nx-auto-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.15);
    color: #A78BFA;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="light"] .nx-auto-step-num {
    background: #EDE9FE;
    color: #6D28D9;
}

.nx-auto-step-content {
    flex: 1;
}

.nx-auto-step-title {
    font-size: 0.94rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.2rem;
}

[data-theme="light"] .nx-auto-step-title {
    color: #0F172A;
}

.nx-auto-step-desc {
    font-size: 0.82rem;
    color: #94A3B8;
    line-height: 1.45;
}

[data-theme="light"] .nx-auto-step-desc {
    color: #64748B;
}

.nx-auto-step-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #CBD5E1;
    white-space: nowrap;
}

[data-theme="light"] .nx-auto-step-tag {
    background: #F1F5F9;
    color: #475569;
}

.nx-auto-step-connector {
    width: 2px;
    height: 14px;
    background: rgba(139, 92, 246, 0.4);
    margin: -0.35rem 0 -0.35rem 2.25rem;
}

/* Painel Direito: Resumo de Negócio & Impacto */
.nx-auto-impact-pane {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    background: #0B1116;
}

[data-theme="light"] .nx-auto-impact-pane {
    background: #FFFFFF;
}

.nx-auto-impact-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.65rem;
}

[data-theme="light"] .nx-auto-impact-header h3 {
    color: #0F172A;
}

.nx-auto-impact-header p {
    font-size: 0.92rem;
    color: #94A3B8;
    line-height: 1.6;
}

[data-theme="light"] .nx-auto-impact-header p {
    color: #475569;
}

.nx-auto-compare-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

[data-theme="light"] .nx-auto-compare-box {
    background: #F8FAFC;
    border-color: #E2E8F0;
}

.nx-auto-compare-row {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.nx-auto-compare-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.nx-auto-compare-content {
    font-size: 0.88rem;
    line-height: 1.5;
}

.nx-auto-compare-content strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.nx-auto-compare-row--bad strong { color: #F87171; }
[data-theme="light"] .nx-auto-compare-row--bad strong { color: #DC2626; }
.nx-auto-compare-row--bad span { color: #94A3B8; }
[data-theme="light"] .nx-auto-compare-row--bad span { color: #64748B; }

.nx-auto-compare-row--good strong { color: #34D399; }
[data-theme="light"] .nx-auto-compare-row--good strong { color: #059669; }
.nx-auto-compare-row--good span { color: #FFFFFF; font-weight: 600; }
[data-theme="light"] .nx-auto-compare-row--good span { color: #0F172A; }

.nx-auto-systems-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nx-auto-systems-bar-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #A78BFA;
}

[data-theme="light"] .nx-auto-systems-bar-label {
    color: #6D28D9;
}

.nx-auto-systems-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nx-auto-systems-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: #CBD5E1;
}

[data-theme="light"] .nx-auto-systems-tag {
    background: #EDE9FE;
    border-color: #DDD6FE;
    color: #4C1D95;
}

/* ==========================================================================
   6. PILARES DE CONFIABILIDADE & ESTABILIDADE
   ========================================================================== */
.nx-auto-pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

@media (max-width: 768px) {
    .nx-auto-pillars-grid {
        grid-template-columns: 1fr;
    }
}

.nx-auto-pillar-card {
    background: rgba(13, 31, 38, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 18px;
    padding: 2.25rem;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nx-auto-pillar-card:hover {
    border-color: rgba(139, 92, 246, 0.45);
    transform: translateY(-3px);
}

[data-theme="light"] .nx-auto-pillar-card {
    background: #FFFFFF;
    border-color: #E2E8F0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .nx-auto-pillar-card:hover {
    border-color: #DDD6FE;
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.08);
}

.nx-auto-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #A78BFA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
}

[data-theme="light"] .nx-auto-pillar-icon {
    background: #EDE9FE;
    border-color: #DDD6FE;
    color: #6D28D9;
}

.nx-auto-pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

[data-theme="light"] .nx-auto-pillar-title {
    color: #0F172A;
}

.nx-auto-pillar-desc {
    font-size: 0.94rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 0;
}

[data-theme="light"] .nx-auto-pillar-desc {
    color: #64748B;
}

/* ==========================================================================
   7. SISTEMAS E CONECTORES CORPORATIVOS
   ========================================================================== */
.nx-auto-connect-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 992px) {
    .nx-auto-connect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .nx-auto-connect-grid {
        grid-template-columns: 1fr;
    }
}

.nx-auto-connect-card {
    background: rgba(17, 38, 48, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.nx-auto-connect-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
    background: rgba(139, 92, 246, 0.08);
}

[data-theme="light"] .nx-auto-connect-card {
    background: #FFFFFF;
    border-color: #E2E8F0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .nx-auto-connect-card:hover {
    border-color: #C4B5FD;
    background: #FAF5FF;
}

.nx-auto-connect-icon {
    font-size: 1.75rem;
    margin-bottom: 0.65rem;
}

.nx-auto-connect-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}

[data-theme="light"] .nx-auto-connect-name {
    color: #0F172A;
}

.nx-auto-connect-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    color: #94A3B8;
}

[data-theme="light"] .nx-auto-connect-meta {
    color: #64748B;
}

/* ==========================================================================
   8. BOX DE GARANTIA E SLA TÉCNICO
   ========================================================================== */
.nx-auto-sla-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(13, 31, 38, 0.75) 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 2.25rem;
    margin-top: 3.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .nx-auto-sla-box {
    background: linear-gradient(135deg, #FAF5FF 0%, #FFFFFF 100%);
    border-color: #DDD6FE;
    box-shadow: 0 10px 30px rgba(109, 40, 217, 0.06);
}

@media (max-width: 768px) {
    .nx-auto-sla-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
}

.nx-auto-sla-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #A78BFA;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="light"] .nx-auto-sla-icon {
    background: #EDE9FE;
    border-color: #C4B5FD;
    color: #6D28D9;
}

.nx-auto-sla-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.65rem;
}

[data-theme="light"] .nx-auto-sla-content h3 {
    color: #0F172A;
}

.nx-auto-sla-content p {
    font-size: 0.96rem;
    color: #94A3B8;
    line-height: 1.6;
    margin: 0;
}

[data-theme="light"] .nx-auto-sla-content p {
    color: #475569;
}

/* ==========================================================================
   9. CTA FINAL EXECUTIVO
   ========================================================================== */
.nx-auto-cta-sec {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.08) 100%);
    padding: 6.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
}

[data-theme="light"] .nx-auto-cta-sec {
    background: linear-gradient(180deg, #F8FAFC 0%, #EDE9FE 100%);
    border-top: 1px solid #E2E8F0;
}

.nx-auto-cta-box {
    max-width: 840px;
    margin: 0 auto;
}

.nx-auto-cta-box h2 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: var(--text-primary, #FFFFFF);
}

[data-theme="light"] .nx-auto-cta-box h2 {
    color: #090D16;
}

.nx-auto-cta-box h2 em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #A78BFA;
}

[data-theme="light"] .nx-auto-cta-box h2 em {
    color: #6D28D9;
}

.nx-auto-cta-box p {
    font-size: 1.12rem;
    color: #94A3B8;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

[data-theme="light"] .nx-auto-cta-box p {
    color: #475569;
}

@media (max-width: 640px) {
    .nx-auto-hero { padding: 6.5rem 0 3.5rem; }
    .nx-auto-metrics-grid { grid-template-columns: 1fr; }
    .nx-auto-hero__ctas { flex-direction: column; }
    .nx-auto-btn-primary, .nx-auto-btn-secondary { width: 100%; justify-content: center; }
}
