/* ==========================================
   JCFlow — Landing Migración de The Factory HKA
   p/migrar-the-factory-hka/dom/index.css
   ========================================== */

.hka-page .vert-hero {
    padding-bottom: 2rem;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border-radius: 16px;
    border: 1px solid var(--border, #e5e7eb);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.05));
    background: var(--bg-card, #ffffff);
}

[data-theme="dark"] .table-responsive {
    background: rgba(17, 24, 39, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

[data-theme="dark"] .compare-table th,
[data-theme="dark"] .compare-table td {
    border-bottom-color: rgba(255, 255, 255, 0.07);
}

.compare-table th {
    background: var(--bg-tertiary, #f3f4f6);
    font-weight: 700;
    color: var(--text-primary, #111827);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

[data-theme="dark"] .compare-table th {
    background: rgba(31, 41, 55, 0.8);
    color: #f9fafb;
}

.compare-highlight {
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent, #4f46e5);
    font-weight: 600;
}

[data-theme="dark"] .compare-highlight {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
}

/* Migration Steps Grid */
.migration-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 2.5rem 0;
}

.migration-step-card {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .migration-step-card {
    background: rgba(17, 24, 39, 0.7);
    border-color: rgba(255, 255, 255, 0.08);
}

.migration-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

.migration-step-num {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-mono, monospace);
    color: var(--accent, #4f46e5);
    margin-bottom: 1rem;
    line-height: 1;
}

.migration-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #111827);
    margin-bottom: 0.75rem;
}

.migration-step-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary, #4b5563);
}

[data-theme="dark"] .migration-step-desc {
    color: #9ca3af;
}

.migration-step-desc code {
    background: var(--bg-tertiary, #f3f4f6);
    color: var(--accent, #4f46e5);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-family: var(--font-mono, monospace);
}

[data-theme="dark"] .migration-step-desc code {
    background: rgba(31, 41, 55, 0.8);
    color: #a5b4fc;
}

@media (max-width: 768px) {
    .compare-table th,
    .compare-table td {
        padding: 0.85rem 1rem;
        font-size: 0.88rem;
    }
}
